Description Usage Arguments Details Value Author(s) Examples
View source: R/indiv.emission.init.rate.r
Obtain rate matrices for each individual based on given parameter values and individual-specific covariates.
1 2 | get.rate.matrix.list(current.params, rate.setup,
do.list = T)
|
current.params |
values of rate parameters |
rate.setup |
list with rate matrix setup information |
do.list |
If T, return as list, otherwise return as array |
Can be output as an array or list.
an array of (dim num.states,num.subjects) or list with the fitted rate matrix for each subject.
Jane Lange
1 2 3 4 5 6 | ## Not run:
library(cthmm)
data(DDO_data)
rate.list=get.rate.matrix.list(current.params=DDO_EM$params[1:7],rate.setup=rates.setup,do.list=T)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.