days(x) weekdays(x, abb = TRUE) months(x, abb = TRUE) quarters(x, abb = TRUE) years(x)
x
| a dates object. |
abb
|
should abbreviated names be returned? Default is TRUE.
|
x for the respective function.is.weekend, is.holiday
dts <- dates("07/01/78") + trunc(50 * rnorm(30))
plot(weekdays(dts))
plot(months(dts))