compute_timeline: Function to compute ranges data to be consumed by...

Description Usage Arguments Value

Description

The function filters the data according to date. It returns data that are in between xmin and xmax. Note that xmin and xmax can either be mapped (using aes(xmin=???)) or being an argument to geom_timeline. If both are specified, the mapped value will be considered.

Usage

1
compute_timeline(data, scales, xmin = NA, xmax = NA, ...)

Arguments

data

data frame passed from stat / geom

scales

passed from stat/ geom

xmin

date passed from stat / geom, specifying the minimum date to be considered

xmax

date pased from stat /geom, specifying the maximum date to be considered

Value

data frame to be consumed by geom


wingtham/NOAA documentation built on May 24, 2019, 3:51 p.m.