Description Usage Arguments Value Author(s) Examples
This function creates a user-specified number of simulated datasets with a Latin Square design, and compares mixed-effects models with the by-subject anova.
1 2 |
dat |
A data frame with the structure of the data set |
with |
Logical, if TRUE, effect of SOA built into the data. |
trial |
A number which, if nonzero, gives the magnitude of a learning or a fatigue effect. |
nruns |
A number indicating the required number of simulation runs. |
nsub |
A number for the number of subjects. |
nitem |
A number for the number of items. |
... |
other parameters to be passed through to plotting functions. |
A list with components
alpha05 |
Description of 'comp1' |
alpha01 |
proportion of runs in which predictors are significant at the 05 significance level. |
res |
Data frame with simulation results. |
with |
Logical, TRUE if SOA effect is built into the simulations. |
R. H. Baayen
1 2 3 4 5 6 7 8 | ## Not run:
data(latinsquare)
\dontrun{
library(lme4)
simulateLatinsquare.fnc(latinsquare, nruns=100)
}
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.