Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

gls

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

Tools for Mapping of Quantitative Traits of Genetically Related Individuals and Calculating Identity Coefficients from Pedigrees

v1.11
GPL (>= 2)
Authors
Riyan Cheng [aut, cre]
Initial release
2022-6-17

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.