An S4 class to hold model definition and fitting parameters.
N.States
The number of states n
used in the model.
Use.HMM
If TRUE
fixes autocorrelation to zero.
Distribution
Distribution for step length. Can be one of gamma
or log-normal
.
Zero.Inflation
A named logical vector with entries Step.Length
and Deflection.Angle
. A TRUE
entry enables zero inflation.
Starting.Values
A named list giving the starting values of the working parameters with the following entries:
An n
by n
matrix.
An n
by 2 matrix. The first column is untransformed center, the second is the logit of concentration.
An n
by 3 matrix. The first column is the log of the reversion level, the second is the logit of the autocorrelation, the third is the log of the standard deviation.
A length n
vector.
A length n
vector.
An n
by 2 matrix.
Parameter.Mapping
A named list with the same structure as Starting.Values
. Controls TMB parameter mapping. See details of MakeADFun
.
Other 4M-classes: Data4M-class
,
Model4M-class
,
SetSim4M-class
,
Simulate4M-class
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.