residuals.gls
Extract gls ResidualsThe 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 [email protected]
fm1 <- gls(follicles ~ sin(2*pi*Time) + cos(2*pi*Time), Ovary, correlation = corAR1(form = ~ 1 | Mare)) residuals(fm1)
Copyright (©) 1999–2012 R Foundation for Statistical Computing.
Licensed under the GNU General Public License.