plot_orig_data: Plot original data

Description Usage Arguments Value References Examples

View source: R/plots_originalData.R

Description

This function plots variables as

Usage

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

Arguments

data

A data frame.

example

Logical. Specify "TRUE" if you would like to use example data for demonstration.

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.

Examples

1
2

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