fit a random walk with time-varying move persistence to location data (e.g., output from fit_ssm)
Usage
fit_mpm(
x,
model = c("mpm", "jmpm"),
optim = c("optim", "nlminb"),
verbose = 1,
control = NULL,
inner.control = NULL
)
Arguments
x
a data frame of observations (see details)
model
mpm model to fit; either mpm with unpooled random walk variance parameters (sigma_(g,i)) or jmpm with a single, pooled random variance parameter (sigma_g)
optim
numerical optimizer
verbose
report progress during minimization
control
list of control parameters for the outer optimization (type ?nlminb or ?optim for details)
inner.control
list of control parameters for the inner optimization