Fit a model to data using maximum likelihood objective function with newuoa or optim
1 2 |
mod |
a model object |
input |
a numeric vector containing observation compartments in data_set to be fit |
output |
a character vector containing names of pred output columns |
var |
a character vector containing names of variance output columns of preds |
prms |
a character vector of parameters to fit |
v_prms |
a character vector of variance parameters to fit |
cov |
logical, perform covariance step |
restarts |
number of times to restart fit with final estimates of previous optimization |
method |
method to be used: "newuoa","Nelder-Mead", "BFGS", "CG", "L-BFGS-B", "SANN", "Brent" |
options |
options passed to optim function, see ?optim for more information |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.