Learn R Programming

merTools (version 0.6.2)

thetaExtract: Extract theta parameters from a merMod model

Description

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

Usage

thetaExtract(merMod)

Value

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

Arguments

merMod

a valid merMod object

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