nlm.bound | R Documentation |
Performs bounded (box-constrained) non-linear minimization using the fast but unconstrained nlm
optimizer.
This function is in many cases been faster than box-constrained optimization using optim.
nlm.bound(fct, p, lower, upper, ...)
fct |
Function to be optimized over. One vector argument. |
p |
Starting values |
lower |
lower bounds for paramters. |
upper |
upper bounds for parameters. |
... |
Further arguments to nlm |
nlm.bound doesn't check validity of the bounds, but does check if starting values satisfy the constraints. If any starting value is not strictly between its prescribed bounds, it is adjusted with a warning.
nlm
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.