Fit a model to data using functions from nloptr
1 2 3 |
theta |
a parset object |
data |
a data set in data.frame format |
mod |
a mrgsolve model object |
optimizer |
used to search the parameter space |
pred_name |
name in simulated output representing 'PRED' |
ofv |
objective function function |
logdv |
logical; if 'TRUE', then the dependent variable is log-transformed during 'ofv' calculation |
sigma |
a one-sided formula containing an expression for the residual error variance |
pred_initial |
if 'TRUE', a column is added to the output called 'INITIAL' which is a model prediction at the initial parameter estimates |
cov_step |
if 'TRUE', then standard errors are derived using the Hessian |
... |
passed to 'ofv' |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.