View source: R/formatHierHMM.R
formatHierHMM | R Documentation |
Convert hierarchical HMM structure to a conventional HMM
formatHierHMM( data, hierStates, hierDist, hierBeta = NULL, hierDelta = NULL, hierFormula = NULL, hierFormulaDelta = NULL, mixtures = 1, workBounds = NULL, betaCons = NULL, deltaCons = NULL, fixPar = NULL, checkData = TRUE )
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 |
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.