Description Usage Arguments Details Value Examples
Function create_Z
creates matrix Z which contains
covariates of random effects
1 2 3 4 5 6 7 |
model |
Type of mixed model: NERM, FHM, RIRS (random slopes and random intercepts) |
clusterID |
Vector with cluster labels |
nrandom |
Which slopes should be random? Default: |
X |
Matrix with covariates for fixed effects. Default: |
intercept |
Is column of ones, representing the intercept, present in X
Default: |
Matrix X is only needed if we select an option model = "RIRS"
.
Z |
Matrix of covariates for random effects |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.