gamStat {laser} | R Documentation |
Computes the Gamma Statistic of Pybus and Harvey (2000), using branching times
gamStat(x, return.list=TRUE)
x |
a numeric vector of branching times |
return.list |
logical: return a list with pvalue and the statistic? |
If return.list
= TRUE, a list containing the following elements:
gamstat |
the calculated gamma statistic |
pval |
One-tailed p-value |
If return.list
= FALSE, it simply returns a single number, the gamma statistic
Dan Rabosky DLR32@cornell.edu
Pybus, O. G., Harvey, P. H. 2000. New uses for incomplete phylogenies.
data("plethodon") pleth <- plethodon gamStat(pleth)