Plots a rank vs relative abundance diagram.
plot_rank(object, ...) # S4 method for matrix plot_rank(object, log = NULL, facet = FALSE) # S4 method for data.frame plot_rank(object, log = NULL, facet = FALSE)
Further arguments to be passed to internal methods.
characterstring which contains "
x" if the x axis is to be logarithmic, "
y" if the y axis is to be logarithmic and "
xy" or "
yx" if both axes are to be logarithmic (base 10).
logicalscalar: should a matrix of panels defined by case/sample be drawn?
A ggplot2::ggplot object.
Magurran, A. E. (1988). Ecological Diversity and its Measurement. Princeton, NJ: Princeton University Press. doi:10.1007/978-94-015-7358-0 .
## Abundance matrix ## Coerce datasets to a count matrix (data from Desachy 2004) data("compiegne", package = "folio") ## Plot rank vs abundance plot_rank(compiegne) plot_rank(compiegne, facet = TRUE)