Skip to contents

Diversity Plot

Usage

# S4 method for DiversityIndex,missing
plot(x)

Arguments

x

A DiversityIndex object to be plotted.

Author

N. Frerebeau

Examples

# \donttest{
## 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)
#> Warning: Removed 2 rows containing missing values (geom_point).


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

# }