Learn R Programming

tabula (version 1.6.1)

plot_diversity: Diversity Plot

Description

Diversity Plot

Usage

# S4 method for DiversityIndex,missing
plot(x)

Arguments

x

A '>DiversityIndex object to be plotted.

See Also

index_heterogeneity(), index_evenness(), index_richness()

Other plot: plot_bar, plot_line, plot_matrix, plot_spot()

Examples

Run this code
# NOT RUN {
## Coerce data to a count matrix
data("chevelon", package = "folio")
chevelon <- as_count(chevelon)

## Assemblage diversity size comparison
## Warning: this may take a few seconds!
sim_evenness <- simulate_evenness(chevelon, method = "shannon")
plot(sim_evenness)

sim_richness <- simulate_richness(chevelon, method = "none")
plot(sim_richness)
# }

Run the code above in your browser using DataLab