Learn R Programming

tabula (version 1.5.1)

plot_diversity: Diversity Plot

Description

Diversity Plot

Usage

plot_diversity(object, ...)

# S4 method for DiversityIndex plot_diversity(object)

Arguments

object

A '>DiversityIndex object to be plotted.

...

Currently not used.

See Also

index_heterogeneity, index_evenness, index_richness

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

Examples

Run this code
# NOT RUN {
library(magrittr)

merzbach %>%
  as_count() %>%
  index_evenness(method = "shannon", simulate = FALSE) %>%
  plot_diversity()

# }
# NOT RUN {
## Assemblage diversity size comparison
## Warning: this may take a few seconds!
merzbach %>%
  as_count() %>%
  index_evenness(method = "shannon", simulate = TRUE) %>%
  plot_diversity()

merzbach %>%
  as_count() %>%
  index_richness(method = "none", simulate = TRUE) %>%
  plot_diversity()
# }

Run the code above in your browser using DataLab