samplev | R Documentation |
samplev
sample states for multiple individuals simultaneously.
samplev(m_Probs, m = 1)
m_Probs |
matrix with probabilities for n_i individual and n_states states |
m |
number of time cycles to sample |
v_cat: An n_i x 1 matrix filled with sampled health state(s) per individual
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.