parameter: Parameter for minimization

View source: R/INTERFACE__Parameter.R

parameterR 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)


EmiR documentation built on Dec. 10, 2022, 1:12 a.m.