Learn R Programming

QTLRel (version 1.14)

gls: Generalized Least Squares Estimates

Description

Obtain estimates using generalized least squares (gls).

Usage

gls(formula, data, vc = NULL, test=c("none","F"))

Value

A matrix with columns: "Estimate", "Std. Error", "t value" and "Pr(>|t|)", or an ANOVA table if F-test is requested.

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.

test

Wheter F-test is performed.

See Also