The estimated coefficients for the linear model represented by
object are extracted.
Usage
coef(object, allCoef)
Arguments
object
an object inheriting from class gls, representing
a generalized least squares fitted linear model.
allCoef
an optional logical value indicating whether all
coefficients, including the non-estimable, should be
extracted. Non-estimable coefficients are assigned
NAs. Default is FALSE.
Value
a vector with the estimated coefficients for the linear model
represented by object.