gammatest {phytools}R Documentation

Gamma test of Pybus & Harvey (2000)

Description

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

Usage

gammatest(x)

Arguments

x

list from function call of ltt in which ltt(...,gamma=F).

Details

Do not use for object returned by ltt(...,gamma=T).

Value

A list containing:

gamma

optionally, a value for the γ-statistic.

p

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

Author(s)

Liam Revell liam.revell@umb.edu

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

ltt

Examples

tree<-pbtree(n=200)
z<-ltt(tree,gamma=FALSE)
g<-gammatest(z)

[Package phytools version 0.4-60 Index]