Learn R Programming

⚠️There's a newer version (1.0.7) of this package.Take me there.

simr

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.

> 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’

Copy Link

Version

Install

install.packages('simr')

Monthly Downloads

3,896

Version

1.0.6

License

GPL (>= 2)

Issues

Pull Requests

Stars

Forks

Maintainer

Green Peter

Last Published

March 8th, 2022

Functions in simr (1.0.6)

tests

Specify a statistical test to apply
simrOptions

Options Settings for simr
simr-package

simr: Simulation-based power calculations for mixed models.
powerSim

Estimate power by simulation.
print.powerSim

Report simulation results
simdata

Example dataset.
powerCurve

Estimate power at a range of sample sizes.
doFit

Fit model to a new response.
doTest

Apply a hypothesis test to a fitted model.
getData

Get an object's data.
modify

Modifying model parameters.
extend

Extend a longitudinal model.
makeGlmer

Create an artificial mixed model object
doSim

Generate simulated response variables.
lastResult

Recover an unsaved simulation