rateshift {phytools} | R Documentation |
Function finds the location of one or more rate shifts.
rateshift(tree, x, nrates=1, niter=10, ...)
tree |
object of class |
x |
vector of phenotypic trait values for species. |
nrates |
number of rates. |
niter |
number of iterations of optimization routine to ensure convergence. |
... |
optional arguments. |
An object of class "rateshift"
.
Liam Revell liam.revell@umb.edu
Revell, L. J. (2012) phytools: An R package for phylogenetic comparative biology (and other things). Methods Ecol. Evol., 3, 217-223.