Learn R Programming

merTools (version 0.2.1)

thetaExtract: Extract theta parameters from a merMod model

Description

A convenience function that returns the theta parameters for a merMod obejct.

Usage

thetaExtract(merMod)

Arguments

merMod
a valide merMod object

Value

a vector of the covrariance, theta, parameters from a merMod

See Also

merMod

Examples

Run this code
(fm1 <- lmer(Reaction ~ Days + (Days | Subject), sleepstudy))
thetaExtract(fm1) #(a numeric vector of the covariance parameters)

Run the code above in your browser using DataLab