optimiDefaultConstraint {tigre} | R Documentation |
returns the current default function for constraining a parameter.
optimiDefaultConstraint(constraint)
constraint |
the type of constraint you want to place on the parameter, options include 'positive' (gives an 'exp' constraint) and 'zeroone' (gives a 'sigmoid' constraint). |
val |
a list with two components: 'func' for the name of function used to apply the constraint, and 'hasArgs' for a boolean flag if the function requires additional arguments. |
expTransform, sigmoidTransform
.
optimiDefaultConstraint('positive') optimiDefaultConstraint('bounded')