Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

doSim

Generate simulated response variables.


Description

This is normally an internal function, but it can be overloaded to extend simr to other packages.

Usage

doSim(object, ...)

Arguments

object

an object to simulate from, usually a fitted model.

...

additional options.

Value

a vector containing simulated response values (or, for models with a multivariate response such as binomial gl(m)m's, a matrix of simulated response values). Suitable as input for doFit.


simr

Power Analysis for Generalised Linear Mixed Models by Simulation

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

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.