Calculate power for generalised linear mixed models, using
simulation. Designed to work with models fit using the 'lme4' package.
Described in Green and MacLeod, 2016
Power Analysis for Generalised Linear Mixed Models by Simulation.
A tutorial has been published in Methods in Ecology and Evolution.
If you get the following error, try reinstalling RLRsim.
> library(simr)
Loading required package: lme4
Loading required package: Matrix
Error : object ‘sigma’ is not exported by 'namespace:lme4'
Error: package or namespace load failed for ‘simr’