Description Usage Arguments Value
Create simulated data given a row of parameters and the no. of subjects and items
1 2 3 4 | mkDf(nsubj = 24L, nitem = 24L, wsbi = FALSE,
mcr.params = createParamMx(1L, firstseed = sample.int(1000000L, 1L))[1L, ],
missMeth = c("random", "none", "randomBig", "bycond", "bysubj",
"bysubjcond"), rigen = FALSE)
|
nsubj |
number of subjects (default is 24) |
nitem |
number of items (default is 24) |
wsbi |
logical, is design between items (TRUE) or within items (default FALSE). |
mcr.params |
vector of parameters for generation of data (see createParamMx) |
missMeth |
method of generating missing data (default "random") |
rigen |
logical, use a random-intercepts-only generative model (default FALSE) |
a data frame of simulated data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.