Description Usage Arguments Value
Function can generate data with random intercept and fixed slope, or random intercept and slope with arbitrary fixed covariates
1 | create.data(clusters, cluster.size, params.fe, params.re, G, ...)
|
clusters |
The number of clusters (> 1) |
cluster.size |
Either a vector indicating the size of each cluster or a single number which indicates the size of each cluster (same across clusters) |
params.fe |
A list containing the values of the fixed effects |
params.re |
A list contiaining the values of the random effects |
G |
"True" mixing distribution as a character (e.g. "normal", "gamma") |
... |
Named parameters for the mixing distribution G |
data.frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.