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

Description Usage Arguments Value References Examples

View source: R/squeezePars.R

Description

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

Usage

1
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

1
....

statOmics/MSqRob documentation built on Nov. 24, 2018, 6:52 a.m.