Learn R Programming

dttr2 (version 0.5.2)

dtt_dayte: Dayte

Description

Dayte

Usage

dtt_dayte(x, ...)

# S3 method for Date dtt_dayte(x, start = 1L, ...)

# S3 method for POSIXct dtt_dayte(x, start = 1L, ...)

Value

A Date vector with the year set to year.

A Date vector of the daytes.

Arguments

x

A date/time vector.

...

Unused.

start

An integer scalar of the starting month or a Date scalar of the starting date.

Methods (by class)

  • dtt_dayte(Date): Dayte a Date vector

  • dtt_dayte(POSIXct): Dayte a POSIXct vector

See Also

Other dayte: dtt_dayte_time(), dtt_daytt()

Examples

Run this code
dtt_dayte(as.Date(c("2001-01-01", "2015-12-13")))

Run the code above in your browser using DataLab