initialprob.nhm | R Documentation |
Outputs the vector of initial state probabilities in a misclassification type hidden Markov multi-state model fitted using nhm
.
initialprob.nhm(object, covvalue=NULL)
object |
Fitted model object produced using |
covvalue |
Optional vector of covariate vectors (should be given in the order specified in the |
The initp_nhm
function used to fit the model is called to obtain the values of the initial state vector at the supplied times for the supplied covariate value.
Returns a list containing a vector of initial state probabilities and a corresponding vector of standard errors computed using the delta method.
Andrew Titman a.titman@lancaster.ac.uk
nhm
, ematrix.nhm
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.