ranef.lcc: Extract Random Effects from an 'lcc' Model

View source: R/methods.R

ranef.lccR Documentation

Extract Random Effects from an lcc Model

Description

Extracts the estimated random effects from a fitted longitudinal concordance correlation model represented by an lcc object. The function returns a data frame with rows corresponding to different groups at a specified level and columns representing the random effects.

Usage

## S3 method for class 'lcc'
ranef(object, ...)

Arguments

object

An object inheriting from class lcc, representing a fitted longitudinal concordance correlation function.

...

Optional arguments passed to the ranef.lme function from the nlme package.

Details

This function is useful for examining the random effects associated with groups or subjects in the model. For a detailed explanation of these effects, see the documentation for nlme objects.

See Also

lcc, coef.lcc,

Examples

## Not run: 
fm1 <- lcc(data = hue, subject = "Fruit", resp = "H_mean",
           method = "Method", time = "Time", qf = 2, qr = 2)
ranef(fm1)

## End(Not run)

Prof-ThiagoOliveira/lcc documentation built on Dec. 9, 2023, 12:10 a.m.