Extract gls Residuals
The residuals for the linear model represented by object
are extracted.
## S3 method for class 'gls' residuals(object, type, ...)
object |
an object inheriting from class |
type |
an optional character string specifying the type of
residuals to be used. If |
... |
some methods for this generic function require additional arguments. None are used in this method. |
a vector with the residuals for the linear model represented by
object
.
José Pinheiro and Douglas Bates bates@stat.wisc.edu
fm1 <- gls(follicles ~ sin(2*pi*Time) + cos(2*pi*Time), Ovary, correlation = corAR1(form = ~ 1 | Mare)) residuals(fm1)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.