dtt_dayte {dttr2}R Documentation

Dayte

Description

Dayte

Usage

dtt_dayte(x, ...)

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

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

Arguments

x

A date time vector.

...

Unused.

start

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

Value

A Date vector with the year set to year.

A Date vector of the daytes.

Methods (by class)

Examples

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

[Package dttr2 version 0.3.0 Index]