Description Usage Arguments Value Author(s)
Get an initial distribution design setup object
1 2 3 4 5 |
num.states |
number of hidden states |
states |
vector of index of states with non-zero initial probabilities, not including ref state |
ref |
index of reference state |
fixed.dist |
option fixed initial distribution (same for all subjects) |
design.matrix |
array of dim(num beta parameters, initial states) that encode the variables/constants used in linear predictors of log(emission_ij). Variables are named, and constants are entered as constants. The rows correspond to the transitions in the states entry. |
covariate.array |
(dim=c(num.betas,num.thetas, num.subjects)) with covariates values for all subjects |
deriv.array |
|
param.values |
inital or fixed values of beta parameters |
param.types |
a vector of length(num.beta.parameters), with entries=0 if parameter is free, 1 if fixed at param.value. |
variable.predictors |
matrix with columns "i" and "j" that encode the variable predictors in the design.matrix |
init.setup object
Jane Lange
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.