R/decade.R
dtt_decade.Rd
Decade
dtt_decade(x, ...) # S3 method for class 'Date' dtt_decade(x, ...)
A date/time vector.
Unused.
A integer vector of the decade.
dtt_decade(Date): Decade a Date vector
dtt_decade(Date)
dtt_decade(as.Date(c("2001-01-01", "2015-12-13"))) #> [1] 2000 2010