Power Analysis for Generalised Linear Mixed Models by Simulation

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.

Getting Started

A tutorial has been published in Methods in Ecology and Evolution.

Old RLRsim Binaries

If you get the following error, try reinstalling RLRsim. 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’

News

simr 1.0.3

  • update maintainer email address

simr 1.0.2

  • print, summary, and confint methods for easier access to results
  • log(y) type responses now work
  • added unit tests

simr 1.0.1

  • added citation info
  • added vignette building instructions
  • bugfixes
    • binomial responses
    • lm/glm simulation
    • subsetted data arguments

simr 1.0.0

  • Initial CRAN release.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("simr")

1.0.4 by Green Peter, 20 days ago


https://github.com/pitakakariki/simr


Report a bug at https://github.com/pitakakariki/simr/issues


Browse source code at https://github.com/cran/simr


Authors: Green Peter [aut, cre] (<https://orcid.org/0000-0002-0238-9852>), MacLeod Catriona [aut], Alday Phillip [ctb]


Documentation:   PDF Manual  


GPL (>= 2) license


Imports binom, iterators, pbkrtest, plotrix, plyr, RLRsim, stringr, stats, methods, utils, graphics, grDevices, car

Depends on lme4

Suggests testthat, knitr, rmarkdown, lmerTest


See at CRAN