plot_richness: Plot species richness over time for the original data

Description Usage Arguments Value References

View source: R/plot_richness.R

Description

This function plots the species richness over time as a function of the total unique variables within each time

Usage

1
plot_richness(data, example = FALSE, print = TRUE, xLabel = "time")

Arguments

data

The original data frame

example

Logical. If TRUE will use the paleodiatom data from Spanbauer et al. (2014), else will use input data.

print

print plots to device when print = T. Default print = T.

xLabel

Option to change the xLabel on resultant ggplot from "time" to ...

Value

Function returns a data frame in long format with columns specifying site name, time (or spatial unit), variable (e.g. species identity), and value (e.g. species count).

References

Spanbauer, Trisha L., et al. "Prolonged instability prior to a regime shift." PLoS One 9.10 (2014): e108936.


TrashBirdEcology/regimeDetectionMeasures documentation built on Oct. 13, 2019, 5:15 p.m.