cutdate: Convert vector of dates into a factor of date ranges

Description Usage Arguments

View source: R/llanalysis.R

Description

Convert the date vector into a numeric vector, then apply cut, and rename the levels of the factor to reflect the date ranges included.

Usage

1
cutdate(dates, breaks)

Arguments

dates

Vector of dates

breaks

Number of date ranges to split into


rplzzz/CovMitigation documentation built on June 7, 2021, 8:48 a.m.