doy: Get Day of the Year

View source: R/dayte.R

doyR Documentation

Get Day of the Year

Description

Returns the day of the year as an integer between 1 and 366.

Usage

doy(x)

Arguments

x

The object.

Value

An integer vector with values between 1 and 366.

Examples

doy(as.Date("2002-01-11"))
doy(as.Date("2001-05-16"))

poissonconsulting/poisix documentation built on May 28, 2022, 10:42 p.m.