Rdocumentation
powered by
Learn R Programming
WikiSocio (version 0.7.0)
period: Recode a date vector into periods
Description
Recode a date vector into periods
Usage
period(date, period = c("2005-05-01", "2009-12-01"))
Arguments
date
A timestamp vector
period
The breaks witch
date
sould be cut with
Value
a numeric vector with the periods replacing the date