formatTimeSeriesForPlotting: Format time series for plotting

Description Usage Arguments Value

View source: R/utils-plot.R

Description

Helper function that primes a time series for plotting by extracing the points data frame from the list, adding the legend name to that data frame, and removing zero/negative value rows if necessary

Usage

1
formatTimeSeriesForPlotting(series, removeZeroNegativeFlag = NULL)

Arguments

series

The time series data to format for plotting

removeZeroNegativeFlag

Whether or not to remove zero and negative values

Value

A data frame representing the time series for plotting


USGS-R/repgen documentation built on April 14, 2021, 2:47 p.m.