fit the state-space model to data after passing through prefilter
generates initial values for model parameters and unobserved states;
structures data and initial values for C++ TMB
template;
fits state-space model; minimizes the joint log-likelihood via the selected
optimizer (nlminb
or optim
); structures and passes output
object to fit_ssm
sfilter( x, model = c("rw", "crw"), time.step = 6, scale = FALSE, parameters = NULL, map = NULL, fit.to.subset = TRUE, control = ssm_control(), inner.control = NULL )
called by fit_ssm
, not intended for general use. sfilter
can only fit to an
individual track, use fit_ssm
to fit to multiple tracks (see ?fit_ssm).
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.