ranef function

Extract Random Effects

Extract Random Effects

This function computes random effects for a linear quantile mixed model.

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

Arguments

  • object: an object of class lqmm.
  • ...: not used.

Details

The prediction of the random effects is done via estimated best linear prediction (Geraci and Bottai, 2014). The generic function ranef is imported from the nlme package (Pinheiro et al, 2014).

Returns

a data frame or a list of data frames of predicted random effects.

References

Geraci M and Bottai M (2014). Linear quantile mixed models. Statistics and Computing, 24(3), 461--479. doi: 10.1007/s11222-013-9381-9.

Pinheiro J, Bates D, DebRoy S, Sarkar D and R Core Team (2014). nlme: Linear and Nonlinear Mixed Effects Models. R package version 3.1-117, https://CRAN.R-project.org/package=nlme.

Author(s)

Marco Geraci

See Also

lqmm, coef.lqmm

  • Maintainer: Marco Geraci
  • License: GPL (>= 2)
  • Last published: 2022-04-06

Useful links