powered by
object
## S3 method for class 'gls': residuals(object, type, \dots)
gls
fm1 <- gls(follicles ~ sin(2*pi*Time) + cos(2*pi*Time), Ovary, correlation = corAR1(form = ~ 1 | Mare)) residuals(fm1)
Run the code above in your browser using DataLab