Description Usage Arguments Value Author(s)
Creates matrices with covariate values for all subjects for use in parameterized rate, initial dist., and emission matrices.
1 2 | get.covariate.array(design.matrix, cov.data,
variable.entries = NULL)
|
design.matrix |
a matrix that codes the constants and variables for the parameterization with rows corresponding to theta and columns corresponding to betas |
cov.data |
a data frame with baseline covariate data for each individual |
variable.entries |
matrix with rows for each parameter corresponding to variable covariates, with the names for each. |
an array (dim=c(num.betas,num.thetas, num.subjects)) with covariates values for all subjects
Jane Lange
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.