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

doFit

Fit model to a new response.


Description

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

Usage

doFit(y, fit, subset, ...)

Arguments

y

new values for the response variable (vector or matrix depending on the model).

fit

a previously fitted model object.

subset

boolean vector specifying how much of the data to use. If missing, the model is fit to all the data. This argument needs to be implemented for powerCurve to work.

...

additional options.

Value

a fitted model object.


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.