Learn R Programming

laser (version 2.1)

gamStat: gamStat

Description

Computes the Gamma Statistic of Pybus and Harvey (2000), using branching times

Usage

gamStat(x, return.list=TRUE)

Arguments

Value

  • If return.list = TRUE, a list containing the following elements:
  • gamstatthe calculated gamma statistic
  • pvalOne-tailed p-value
  • If return.list = FALSE, it simply returns a single number, the gamma statistic

References

Pybus, O. G., Harvey, P. H. 2000. New uses for incomplete phylogenies.

Examples

Run this code
data("plethodon")
  pleth <- plethodon
  gamStat(pleth)

Run the code above in your browser using DataLab