formatHierHMM {momentuHMM} | R Documentation |
Convert hierarchical HMM structure to a conventional HMM
Description
Convert hierarchical HMM structure to a conventional HMM
Usage
formatHierHMM(
data,
hierStates,
hierDist,
hierBeta = NULL,
hierDelta = NULL,
hierFormula = NULL,
hierFormulaDelta = NULL,
mixtures = 1,
workBounds = NULL,
betaCons = NULL,
deltaCons = NULL,
fixPar = NULL,
checkData = TRUE
)
Arguments
data |
|
hierStates |
A hierarchical data structure |
hierDist |
A hierarchical data structure |
hierBeta |
A hierarchical data structure |
hierDelta |
A hierarchical data structure |
hierFormula |
A hierarchical formula structure for the transition probability covariates for each level of the hierarchy ('formula'). See |
hierFormulaDelta |
A hierarchical formula structure for the initial distribution covariates for each level of the hierarchy ('formulaDelta'). See |
mixtures |
Number of mixtures for the state transition probabilities (i.e. discrete random effects *sensu* DeRuiter et al. 2017). See |
workBounds |
A list with elements named |
betaCons |
A hierarchical data structure |
deltaCons |
A hierarchical data structure |
fixPar |
A list with elements named |
checkData |
logical indicating whether or not to check the suitability of |
Value
A list of arguments needed for specifying a hierarchical HMM as a conventional HMM in fitHMM
or MIfitHMM
, including:
nbStates |
See |
dist |
See |
formula |
See |
formulaDelta |
See |
beta0 |
See |
delta0 |
See |
betaRef |
See |
betaCons |
See |
deltaCons |
See |
fixPar |
See |
workBounds |
See |
stateNames |
See |