Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

calendar-dayOfWeek

Day of the Week


Description

returns the day of the year from a 'timeDate' object.

Usage

dayOfWeek(x)

Arguments

x

an object of class timeDate.

Value

returns a three letter character string with the names in English of the day of the week,

Note

With version 2.7 the function has been renamed from getdayOfWeek.

See Also

Examples

## timeCalendat -  
   tC = timeCalendar()
       
## The days of the Year:
   dayOfWeek(tC)
   
## Use Deprecated Function:
   getDayOfWeek <- dayOfWeek
   getDayOfWeek(tC)

timeDate

Rmetrics - Chronological and Calendar Objects

v3043.102
GPL (>= 2)
Authors
Diethelm Wuertz [aut], Tobias Setz [cre], Yohan Chalabi [ctb], Martin Maechler [ctb], Joe W. Byers [ctb]
Initial release
2018-02-21

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.