mmre | R Documentation |
Funtions requred to fit two state Markov model with or without individual effects
Must compile required TMB templates to use The mmre class
a data frame which must contain the following named elements ID,
state, time to be used with fit.mmre
a summary of data, automatiacally created when calling fit.mmre
,
filled using mmre.summary
. Includes raw transition probabilities.
a list of the data required to use fit.mmre
(automatically filled)
logical, should a continuous model be used (default)
a character of the chosen model based on arguments given to fit.mmre
,
chosen using mmre.mod
a charater string or vector of covariate names (elements in data
)
(only for multiple individuals)
a named list of starting values for the model, assumed model is chosen based
on the contents of this list (i.e., to fit a correlated random effect model parameters
must contain
the elements u
, log_sig_u
and cov_par
)
contains the model output
summary information of the model
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.