Learn R Programming

merTools (version 0.5.0)

thetaExtract: Extract theta parameters from a merMod model

Description

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

Usage

thetaExtract(merMod)

Arguments

merMod

a valid merMod object

Value

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

See Also

merMod

Examples

Run this code
# NOT RUN {
(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