Select a random observation from the model frame of a merMod
randomObs(merMod, varList, seed = NULL)
a data frame with a single row for a random observation, but with full factor levels. See details for more.
an object of class merMod
optional, a named list of conditions to subset the data on
numeric, optional argument to set seed for simulations
Each factor variable in the data frame has all factor levels from the full model.frame stored so that the new data is compatible with predict.merMod