Description Usage Arguments Details Value Author(s)
genlmesim simulates dataset from a Linear Mixed Effects model which may assume any general covariance structures for the effects.
1 2 |
model |
A list with function-elements' G' and' ldetG' taking a' phi'-parameter. |
true |
A list with vector-elements' beta','phi' and' gamma' used as parameter in the LME model. |
designM |
A list with covariation matrix' X' belonging to fixed effects and random effect matrix' Z' belonging to random effects. |
n_i |
Number of data for each categorizations. |
levelname |
Name of levels in the one-way categories. |
The model assumes gaussian noise with different variance paramater for each group (heterogenous variance structure) and gaussian random effect with any covariance strucuture.
Dataset with responses, categorize (group), covariates and random effects variables
Y |
Response variable. |
F |
Categorize (name of group). |
X |
Covariates belonging to fixed effects. |
Z |
Covariates belonging to random effects. |
delta |
Sampled random effects. |
Oyvind Bleka <Oyvind.Bleka.at.fhi.no>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.