dekad: Get the dekad component of a date-time object

View source: R/dekad.R

dekadR Documentation

Get the dekad component of a date-time object

Description

Convert a date or date-time object to a yearly dekad (10-day period)

Usage

dekad(date)

Arguments

date

A date-time object

Value

a numerical vector of dekad objects corresponding to date variable.

Examples

dekad(as.Date("2020/12/25"))
dekad(as.Date("1999/01/01"))

IDEMSInternational/cdms.products documentation built on July 7, 2023, 10:13 a.m.