Description Usage Arguments Value See Also Examples
Optifix is a function originally written by Barry Rowlingson (b.rowlingsno at lancaster.ac.uk) that acts as a wrapper for the optim function, allowing the user to fix any specified parameters during optimisation.
1 2 3 |
par |
a vector of the parameters to be optimised |
fixed |
a vector of boolean values corresponding to the values of par. If the corresponding index is TRUE, then the parameter in par will be fixed during optimisation. |
fn |
the cost function to be optimised over, as in optim |
gr |
as in optim |
returns as with optim, but with a few extra variables to summarise the fixed parameters
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.