makeNumericParam(id, lower = -Inf, upper = Inf,
trafo = NULL, requires = NULL) makeNumericVectorParam(id, len, lower = -Inf,
upper = Inf, trafo = NULL, requires = NULL)
makeIntegerParam(id, lower = -Inf, upper = Inf,
trafo = NULL, requires = NULL)
makeIntegerVectorParam(id, len, lower = -Inf,
upper = Inf, trafo = NULL, requires = NULL)
makeLogicalParam(id, requires = NULL)
makeLogicalVectorParam(id, len, requires = NULL)
makeDiscreteParam(id, values, requires = NULL)
makeDiscreteVectorParam(id, len, values, requires = NULL)
makeFunctionParam(id, requires = NULL)
makeUntypedParam(id, requires = NULL)
character(1)]
Name of parameter.integer(1)]
Length of vector
parameter.numeric]
Lower bounds. A singe
value of length 1 is automatically replicated to
len for vector parameters. Default is
-Inf.numeric]
Upper bounds. A singe
value of length 1 is automatically replicated to
len for vector parameters. Default is
Inf.vector | list]
Possible
discrete values. Instead of using a vector of atomic
values, you are also allowed to pass a list of quite
NULL | function(x)]
Function to transform parameter. It should be applied to
the parameter value before it is, e.g., passed to a
corresponding objective function. Function must accept a
parameter value as the first argumeNULL | R expression]
States
requirements on other paramaters' values, so that setting
this parameter only makes sense if its requirements are
satisfied (dependent parameter). Only really useful if
the parameter is included in a Param].makeNumericParam("x",lower=-1, upper=1)
makeNumericVectorParam("x", len=2)
makeDiscreteParam("y", values=c("a","b"))Run the code above in your browser using DataLab