mpmf | R Documentation |
generates initial values for model parameters and unobserved gamma's;
structures data and initial values for C++ TMB
template;
fits move persistence model; minimizes the joint log-likelihood via the selected
optimizer (nlminb
or optim
); structures and passes output
object to fit_mpm
mpmf(
x,
model = c("jmpm", "mpm"),
control = mpm_control(),
inner.control = NULL
)
x |
temporally regularized location data, eg. output from |
model |
specify whether MPM is to be fit with unpooled ("mpm") or pooled ("jmpm") RW variance(s). |
control |
list of control settings for the outer optimizer (see |
inner.control |
list of control settings for the inner optimization (see ?TMB::MakeADFUN for additional details) |
verbose |
is deprecated, use ssm_control(verbose = 1) instead, see |
optim |
is deprecated, use ssm_control(optim = "optim") instead, see |
optMeth |
is deprecated, use ssm_control(method = "L-BFGS-B") instead, see |
called by fit_mpm
, not intended for general use. see ?fit_mpm.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.