Skip to contents

Diversity Plot

Usage

# S4 method for DiversityIndex
autoplot(object, ...)

# S4 method for DiversityIndex,missing
plot(x, y, ...)

# S4 method for RarefactionIndex
autoplot(object, ...)

# S4 method for RarefactionIndex,missing
plot(x, y, ...)

Arguments

object, x

A DiversityIndex object to be plotted.

...

Currently not used.

y

Currently not used.

Value

  • autoplot() returns a ggplot object.

  • plot() is called it for its side-effects: it results in a graphic being displayed (invisibly returns x).

See also

Other diversity measures: heterogeneity(), occurrence(), rarefaction(), richness(), similarity(), simulate(), turnover()

Other plot methods: matrigraph(), plot_bertin(), plot_diceleraas(), plot_ford(), plot_heatmap(), plot_rank(), plot_spot(), seriograph()

Author

N. Frerebeau

Examples

# \donttest{
## Data from Conkey 1980, Kintigh 1989
data("cantabria")

## Assemblage diversity size comparison
## Warning: this may take a few seconds!
h <- heterogeneity(cantabria, method = "shannon")
h_sim <- simulate(h)
plot(h_sim)


r <- richness(cantabria, method = "count")
r_sim <- simulate(r)
plot(r_sim)

# }