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 .


AppVeyor Build Status Build Status Coverage Status

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 (development)

  • fixed a unit test that was causing problems for lme4 downstream checks.

  • minor improvements

    • include nrow in summary.powerCurve.

simr 1.0.4

  • compatibility updates for lmerTest version 3.0-0.

  • bugfixes

    • contrast attributes are no longer dropped by extend.
    • more bugfixes and unit tests for binomial responses.
    • warnings for non-uniform weights, which aren't supported yet.

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.5 by Green Peter, 3 months 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] , 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