Learn R Programming

phytools (version 0.4-45)

ltt95: Creates a (1-$\alpha$)-percent CI for a set of LTTs

Description

This function computes LTT plots for a set of trees & plots a (1-$\alpha$)-percent CI by various methods.

Usage

ltt95(trees, alpha=0.05, log=FALSE, method=c("lineages","times"),
	mode=c("median","mean"), ...)
## S3 method for class 'ltt95':
plot(x, ...)

Arguments

trees
is an object of class "multiPhylo" containing a list of phylogenetic trees.
alpha
confidence level.
log
logical value indicating whether or not to plot on the log-scale.
method
plot the CI on the number of lineages given time ("lineages"); or on times given a number of lineages ("times").
mode
plot the median or mean LTT.
x
object of class "ltt95" for plotting method.
...
optional arguments to be used by ltt95 or the plotting method. So far, res gives the number of time-steps (defaults to res=100. xaxis ("standard", "negative", or "flipped"

Details

This function creates a plot and invisibly returns an object of class "ltt95".

References

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

See Also

ltt