time_bins_readable: A simple example of time bins function that is human...

View source: R/time_bins.R

time_bins_readableR Documentation

A simple example of time bins function that is human readable.

Description

time_bins_readable converts a datetime stamp to a time bin tag

Usage

time_bins_readable(t)

Arguments

t

A datetime stamp.

Details

...

Value

a string representing time bin out of MorningRush, EveningRush, EveningNight, Weekendday, Weekday.

Examples

## Not run: 
time_bins_readable(Sys.time())

## End(Not run)

melmasri/traveltimeHMM documentation built on Jan. 6, 2023, 10:30 p.m.