optimiDefaultConstraint: Returns function for parameter constraint.

Description Usage Arguments Value See Also Examples

View source: R/optimiDefaultConstraint.R

Description

returns the current default function for constraining a parameter.

Usage

1

Arguments

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

Value

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.

See Also

expTransform, sigmoidTransform.

Examples

1
2

gptk documentation built on May 20, 2017, 4:29 a.m.

Search within the gptk package
Search all R packages, documentation and source code