plot_line: Line Plot

Description Usage Arguments Value Author(s) References See Also Examples

Description

Plots a rank vs relative abundance diagram.

Usage

1
2
3
4
plot_rank(object, ...)

## S4 method for signature 'matrix'
plot_rank(object, log = NULL, facet = FALSE)

Arguments

object

An abundance matrix to be plotted.

...

Further arguments to be passed to internal methods.

log

A character string 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).

facet

A logical scalar: should a matrix of panels defined by case/sample be drawn?

Value

A ggplot2::ggplot object.

Author(s)

N. Frerebeau

References

Magurran, A. E. (1988). Ecological Diversity and its Measurement. Princeton, NJ: Princeton University Press. doi: 10.1007/978-94-015-7358-0.

See Also

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

Examples

1
2
3
4
5
6
7
8
## Abundance matrix
## Coerce datasets to a count matrix (data from Desachy 2004)
data("compiegne", package = "folio")
counts <- as_count(compiegne)

## Plot rank vs abundance
plot_rank(counts)
plot_rank(counts, facet = TRUE)

tabula documentation built on May 25, 2021, 5:11 p.m.