Almer_sim Simulate responses from an Almer model fit.
Usage
Almer_sim(mod, nsim = 1000)
Value
Almer_sim a matrix of simulated responses, columns correspond
to each simulations.
Arguments
mod
A fitted object from Almer
nsim
The number of simulations.
Author
Geir H. Bolstad
Details
This function is only included because the simulate.merMod
function did not seem to work properly when the number of random effect
levels equal the number of observations.