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.
simulateLatinsquare.fnc(dat, with = TRUE, trial = 0, nruns = 100,
nsub = NA, nitem = NA, ...)
A list with components
Description of 'comp1'
proportion of runs in which predictors are significant at the 05 significance level.
Data frame with simulation results.
Logical, TRUE if SOA effect is built into the simulations.
A data frame with the structure of the data set latinsquare
.
Logical, if TRUE, effect of SOA built into the data.
A number which, if nonzero, gives the magnitude of a learning or a fatigue effect.
A number indicating the required number of simulation runs.
A number for the number of subjects.
A number for the number of items.
other parameters to be passed through to plotting functions.
R. H. Baayen