Learn R Programming

cocons (version 0.1.5)

getBoundaries: Simple build of boundaries

Description

provides a generic set of upper and lower bounds for the L-BFGS-B routine

Usage

getBoundaries(x, lower.value, upper.value)

Value

(list) a list with boundaries and simple init values for the optim L-BFGS-B routine

Arguments

x

(S4) or (list) a coco.object or a par.pos list (as output from getDesignMatrix)

lower.value

(numeric vector) if provided, provides a vector filled with values lower.value.

upper.value

(numeric vector) if provided, provides a vector filled with values upper.value.

Author

Federico Blasi