dtt_decade: Decade

View source: R/decade.R

dtt_decadeR Documentation

Decade

Description

Decade

Usage

dtt_decade(x, ...)

## S3 method for class 'Date'
dtt_decade(x, ...)

Arguments

x

A date/time vector.

...

Unused.

Value

A integer vector of the decade.

Methods (by class)

  • dtt_decade(Date): Decade a Date vector

Examples

dtt_decade(as.Date(c("2001-01-01", "2015-12-13")))

dttr2 documentation built on Sept. 26, 2024, 1:06 a.m.