Find the temporal position of one or more rate shifts
Function finds the location of one or more rate shifts. likSurface.rateshift
plots the likelihood surface (which is sometimes quite rugged).
rateshift(tree, x, nrates=1, niter=10, method="ML", ...) ## S3 method for class 'rateshift' plot(x, ...) likSurface.rateshift(tree, x, nrates=2, shift.range=NULL, density=20, plot=TRUE, ...)
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. |
method |
optimization method. Can be |
... |
optional arguments. In the case of the |
shift.range |
for |
density |
for |
plot |
logical argument for |
A fitted object of class "rateshift"
, or, in the case of likSurface.rateshift
, a likelihood surface for the shift points.
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.
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.