formula.gls {nlme} | R Documentation |
This method function extracts the linear model formula
associated with x
.
formula(x, ...)
x |
an object inheriting from class gls , representing
a generalized least squares fitted linear model. |
... |
some methods for this generic require additional arguments. None are used in this method. |
a two-sided linear formula specifying the linear model used to
obtain x
.
Jose Pinheiro Jose.Pinheiro@pharma.novartis.com and Douglas Bates bates@stat.wisc.edu
data(Ovary) fm1 <- gls(follicles ~ sin(2*pi*Time) + cos(2*pi*Time), Ovary, correlation = corAR1(form = ~ 1 | Mare)) formula(fm1)