Extract gls Residuals
Usage
residuals(object)
Arguments
object
|
an object inheriting from class gls , representing
a generalized least squares fitted linear model.
|
Description
The residuals for the linear model represented by object
are extracted.Value
a vector with the residuals for the linear model represented by
object
.Author(s)
Jose Pinheiro and Douglas BatesSee Also
gls
, residuals.gls
Examples
library(lme)
data(Ovary)
fm1 <- gls(follicles ~ sin(2*pi*Time) + cos(2*pi*Time), Ovary,
correlation = corAR1(form = ~ 1 | Mare))
residuals(fm1)