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

gammatest

Gamma test of Pybus & Harvey (2000)


Description

Conducts γ-test of Pybus & Harvey (2000).

Usage

gammatest(x)

Arguments

x

an object of class "ltt" resulting from a call of the function ltt.

Value

A an object of class "gammatest" consisting of a list that contains:

gamma

a value for the γ-statistic.

p

two-tailed P-value for the γ-test.

Author(s)

References

Pybus, O. G., and P. H. Harvey (2000) Testing macro-evolutionary models using incomplete molecular phylogenies. Proc. R. Soc. Lond. B, 267, 2267-2272.

Revell, L. J. (2012) phytools: An R package for phylogenetic comparative biology (and other things). Methods Ecol. Evol., 3, 217-223.

See Also

Examples

tree<-pbtree(n=200)
gammatest(ltt(tree,plot=FALSE))

phytools

Phylogenetic Tools for Comparative Biology (and Other Things)

v0.7-70
GPL (>= 2)
Authors
Liam J. Revell
Initial release
2020-9-19

We don't support your browser anymore

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