Obtain estimates using generalized least squares (gls).
gls(formula, data, vc = NULL, test=c("none","F"))
A matrix with columns: "Estimate", "Std. Error", "t value" and "Pr(>|t|)", or an ANOVA table if F-test is requested.
An object of class "formula": a symbolic description of the model to be fitted.
An data frame containing the variables in the model.
An object from estVC
or aicVC
or an estimated variance-covariance matrix induced by relatedness and environment if not NULL.
Wheter F-test is performed.
lm
.