Description Usage Arguments Details Value Author(s) References
Like optim
, but with option to fix some parameters.
1 2 3 |
parms |
Parameters to potentially optimize in |
fixed |
A vector of TRUE/FALSE values indicating which parameters in |
fn |
Function to optimize (same as in |
gr |
Gradient function (same as in |
... |
Further arguments to be passed to fn and gr. |
method |
Method to use for optimization (same as in |
lower |
Lower limits (same as in |
upper |
Upper limits (same as in |
control |
Control list (same as in |
hessian |
Return Hessian object (same as in |
Originally written by Barry Rowlingson"
Similar to optim
but adds a vector of all the parameters and a vector copy of the 'fixed' argument.
Written by Barry Rowlingson October 2011
http://www.maths.lancs.ac.uk/~rowlings/R/Optifix/optifix.R
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.