rateshift {phytools}R Documentation

Find the temporal position of one or more rate shifts

Description

Function finds the location of one or more rate shifts.

Usage

rateshift(tree, x, nrates=1, niter=10, ...)

Arguments

tree

object of class "phylo".

x

vector of phenotypic trait values for species. names(x) should contain the species names and match tree$tip.label.

nrates

number of rates.

niter

number of iterations of optimization routine to ensure convergence.

...

optional arguments.

Value

An object of class "rateshift".

Author(s)

Liam Revell liam.revell@umb.edu

References

Revell, L. J. (2012) phytools: An R package for phylogenetic comparative biology (and other things). Methods Ecol. Evol., 3, 217-223.

See Also

brownie.lite


[Package phytools version 0.4-60 Index]