View source: R/gAnalyticSolve.R
The main function which calculates the analytic solution to the linear mixed effects model.
1 2 | gAnalyticSolve(y, X, Zlist, Zlevels, weights, weightsC = weights,
pWeights = NULL, pred0, family, groupID, lmeVarDF)
|
y |
outcome measure. |
X |
the X matrix. |
Zlist, |
a list of matrixes with the Z values for each level. |
Zlevels, |
the level corresponding to each matrix in Zlist. |
weights |
level-1 weights |
weightsC |
a list of conditional weights for each model level. |
groupID |
a matrix containing the group ids for each level in the model. |
weights |
a list of unconditional weights for each model level. |
lmeVardf |
a dataframe containing the variances and covariance of the random effects, in the same format as returned from lme. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.