gls: Generalized Least Squares Estimates

View source: R/scan.R

glsR Documentation

Generalized Least Squares Estimates

Description

Obtain estimates using generalized least squares (gls).

Usage

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

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.

Value

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

See Also

lm.


QTLRel documentation built on Aug. 9, 2023, 1:07 a.m.

Related to gls in QTLRel...