update.lmerMod: Update lmerMod object with new thetas without changing the...

View source: R/squeezePars.R

update.lmerModR Documentation

Update lmerMod object with new thetas without changing the pointers of other objects

Description

This function changes the theta parameter of a lmerMod object to a given vector and updates the model accordingly.

Usage

update.lmerMod(object, theta, ...)

Arguments

object

A lmerMod object of which residual standard deviations and/or model parameters need to be squeezed.

theta

A numeric vector of theta values (parameter variances) that will replace the theta values in the lmerMod object.

...

Other arguments to be passed to the update.default function if the theta input argument would be missing.

Value

A lmerMod object of which the parameter variances are replaced by the ones given in the theta input argument.

References

Bolker (2016). Wald errors of variances, https://rpubs.com/bbolker/waldvar

Examples

....

ludgergoeminne/MSqRob documentation built on Jan. 11, 2023, 1:32 p.m.