| lme-class {lme4} | R Documentation |
A linear mixed-effects model.
Objects can be created by calls of the form new("lme", ...).
reStruct:"reStruct",
the random-effects structure for the model.frame:"data.frame",
the model.frame used to fit the model.na.action:"ANY",
the na.action argument used when creating the
model.frame.fitted:"numeric", the current
fitted values.call:"call",
the function call used to create the object.
Class "lme", directly.
signature(x = "lme"): extract variance and correlation components.signature(object = "lme"): calculate analysis of
variance tables for linear mixed effects models.signature(object = "lme"): extract the
random effects parameters for the model.signature(object = "lme"): extract the fitted values.signature(object = "lme"): extract the fixed
effects parameters.signature(x = "lme"): extract the fixed
effects formula.signature(object = "lme"): extract the response.signature(object = "lme"): calculate
confidence intervals.signature(object = "lme"): calculate the
log-likelihood or log-restricted-likelihood for the modelsignature(x = "lme"): plot the fitted model.signature(object = "lme"): calculate the
random-effects coefficientssignature(object = "lme"): calculate the
residuals from the model fit.signature(object = "lme"): show the object.signature(object = "lme"): summarize the object.signature(object = "lme"): update the model fit.Saikat DebRoy saikat@stat.wisc.edu and Douglas Bates bates@stat.wisc.edu
library(lme4)
data(bdf, package = "nlme")
# This returns an object of class lme
fm <- lme(langPOST ~ IQ.ver.cen + avg.IQ.ver.cen, data = bdf,
random = ~ IQ.ver.cen | schoolNR)
fm