Day of the week
calendar-dayOfWeek.Rd
Returns the days of the week of the data in a "timeDate"
object.
Value
a character vector giving the days of the week corresponding to the
elements of x
. The names are in English, abbreviated to
three letters.
Examples
## timeCalendar -
tC = timeCalendar(2022)
## The days of the Year:
dayOfWeek(tC)
#> 2022-01-01 2022-02-01 2022-03-01 2022-04-01 2022-05-01 2022-06-01 2022-07-01
#> "Sat" "Tue" "Tue" "Fri" "Sun" "Wed" "Fri"
#> 2022-08-01 2022-09-01 2022-10-01 2022-11-01 2022-12-01
#> "Mon" "Thu" "Sat" "Tue" "Thu"