days(x) weekdays(x, abb = TRUE) months(x, abb = TRUE) quarters(x, abb = TRUE) years(x)
TRUE
x
is.weekend
is.holiday
dts <- dates("07/01/78") + trunc(50 * rnorm(30)) plot(weekdays(dts)) plot(months(dts))
Run the code above in your browser using DataLab