residuals.gls | R Documentation |
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
gls
fm1 <- gls(follicles ~ sin(2*pi*Time) + cos(2*pi*Time), Ovary,
correlation = corAR1(form = ~ 1 | Mare))
residuals(fm1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.