gls.ci: GLS confidence intervals

Description Usage Arguments Value References Examples

View source: R/gls.ci.r

Description

Computes confidence intervals for a GLS regression. When the variance covariance matrix is based on a phylogeny, this computes the confidence intervals for a phylogenetic regression (PGLS).

Usage

1
gls.ci(Y, X, Sigma)

Arguments

Y

Dependent variable.

X

Independent variable.

Sigma

Matrix describing the covariance among data points. For the phylogenetic regression, this is based on a phylogeny (vcv(tree)).

Value

GLS results.

Confidence intervals of the estimates ('CI').

Confidence intervals of unobserved values of Y ('CI.plot').

References

Smaers & Rohlf (2016) Testing species' deviations from allometric preductions using the phylogenetic regression. Evolution. 70 (5): 1145-1149.

Examples

1
see https://smaerslab.com/software/ 

JeroenSmaers/evomap documentation built on May 7, 2019, 10:35 a.m.