PhyloValue {entropart} | R Documentation |
Phylogenetic entropy or diversity.
Description
Entropy or diversity against the height of the phylogenetic or functional tree.
Usage
is.PhyloValue(x)
## S3 method for class 'PhyloValue'
autoplot(object, xlab = expression(italic("T")), ylab = NULL, main = NULL,
col = ggplot2::GeomLine$default_aes$colour,
lty = ggplot2::GeomLine$default_aes$linetype,
lwd = ggplot2::GeomLine$default_aes$size,
...)
## S3 method for class 'PhyloValue'
plot(x, xlab = expression(italic("T")), ylab = NULL, main = NULL, ...)
## S3 method for class 'PhyloValue'
summary(object, ...)
Arguments
x |
An object of class |
xlab |
The X axis label, "T" by default for Time. |
ylab |
The Y axis label. if |
main |
The main title of the plot. if |
object |
A |
col |
The color of the geom objects. See "Color Specification" in |
lty |
The type of the lines. See |
lwd |
The width of the lines. See |
... |
Additional arguments to be passed to |
Details
PhyloValue
objects are the result of PhyloApply
.
Examples
# Load Paracou data (number of trees per species in two 1-ha plot of a tropical forest
# and their taxonomy)
data(Paracou618)
# Calculate richness along the tree
# (Cuts are 1=species, 2=genus, 3=family)
summary(r <- PhyloApply(Paracou618.Taxonomy, FUN=Richness,
NorP=Paracou618.MC$Ns, Normalize=TRUE))
autoplot(r)
[Package entropart version 1.6-13 Index]