trim_bytime: Trim data.frame by time

Description Usage Arguments Details Value

Description

Trim a data.frame to 'fit' within specified 'start' and 'end' Date-time values.

Usage

1
2
3
trim_bytime_at(data = NULL, timebin = NULL, start, end, facet)

trim_bytime(..., timebin, facet)

Arguments

data

data.frame.

timebin

bare for NSE; character for SE. Name of columin in data to use for time filtering.

start, end

Date-time. If either is missing, then codecompute_timefilter_at() is called.

facet

bare for NSE; character for SE. Name of column in data used for facetting.

...

dots. Additional parameters to pass to compute_timefilter_at() in the case that start and end are not specified.

Details

Should be used to a trim data.frame appropriately/dynamically given an unknown data set where visualization across a single, appropriate time period is desired. (The unkown data set may have different 'max' and 'min' times for each facet column.

Value

data.frame.


tonyelhabr/tetext documentation built on May 14, 2019, 8:03 a.m.