Extract gls Fitted Values

DESCRIPTION:

The fitted values for the linear model represented by object are extracted.

USAGE:

fitted(object) 

REQUIRED ARGUMENTS:

object
an object inheriting from class gls, representing a generalized least squares fitted linear model.

VALUE:

a vector with the fitted values for the linear model represented by object .

SEE ALSO:

,

EXAMPLES:

fm1 <- gls(follicles ~ sin(2*pi*Time) + cos(2*pi*Time), Ovary, 
           correlation = corAR1(form = ~ 1 | Mare)) 
fitted(fm1)