parameter {EmiR}R Documentation

Parameter for minimization

Description

Create a parameter the objective function is minimized with respect to.

Usage

parameter(name, min_val, max_val, integer = FALSE)

Arguments

name

name of the parameter.

min_val

minimum value the parameter is allowed to assume during minimization.

max_val

maximum value the parameter is allowed to assume during minimization.

integer

if TRUE the parameter is constrained to be integer. Default is FALSE.

Value

parameter returns an object of class Parameter.

Examples

p1 <- parameter("x1", 18, 32, integer = TRUE)


[Package EmiR version 1.0.4 Index]