filterPlotData: Filter out data that should not be plotted

Description Usage Arguments Value

Description

Filter out data that should not be plotted

Usage

1
filterPlotData(plotData, filters, startYear = NULL, endYear = NULL)

Arguments

plotData

Data frame containing the data for a plot.

filters

Named list of variables and values to filter on before aggregating. Values can be character or a list.

startYear

Minimum year to display. If NULL, searches year column for minimum in data.

endYear

Maximum year to display. If NULL, searches year column for maximum in data.

Value

Filtered data frame.


JGCRI/GCAM-LAC-dashboard documentation built on May 28, 2019, 12:42 p.m.