calendar-dayOfYear: Day of the year

dayOfYearR Documentation

Day of the year

Description

Returns the days of the year of the data in a "timeDate" object.

Usage

dayOfYear(x)

Arguments

x

an object of class "timeDate".

Value

vector of integers representing the number of days since the beginning of the year. For January, 1st it is one.

See Also

dayOfWeek

Examples

  
## timeCalendar
tC <- timeCalendar(2022)
       
## the days of the year
dayOfYear(tC)

timeDate documentation built on Sept. 22, 2024, 5:07 p.m.