Learn R Programming

QTLRel (version 0.2-9)

gls: Generalized Least Squares Estimates

Description

Obtain estimates using generalized least squares (gls).

Usage

gls(formula,data,vc=NULL)

Arguments

formula
an object of class "formula": a symbolic description of the model to be fitted.
data
an data frame containing the variables in the model.
vc
an object from estVC or aicVC or an estimated variance-covariance matrix induced by relatedness and environment if not NULL.

Value

  • A matrix with columns: "Estimate", "Std. Error", "t value" and "Pr(>|t|)".

See Also

lm.