Description Usage Arguments Author(s) See Also Examples
This function adds a time scale on the side of a phylogeny plot.
1 | axisChrono(side = 1, unit = "Ma", fact = 1, ...)
|
side |
A numeric value specifying the side where the axis is plotted: 1: below, 2: left, 3: above, 4: right. |
unit |
A character string used to provide information on time units; defaults to "Ma" (million years ago). |
fact |
A real number used to scale the axis. |
... |
Further arguments passed to |
Christoph Heibl
1 2 3 4 5 6 7 8 | # phylogentic relationships of bird orders:
data(bird.orders)
# plot tree:
plot(bird.orders)
# plot axis in units of million years ago
axisChrono(side = 1, unit = "Ma")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.