This is a year-month-weekday method for the calendar_narrow()
generic. It
narrows a year-month-weekday vector to the specified precision
.
Usage
# S3 method for class 'clock_year_month_weekday'
calendar_narrow(x, precision)
Examples
# Day precision
x <- year_month_weekday(2019, 1, 1, 2)
x
#> <year_month_weekday<day>[1]>
#> [1] "2019-01-Sun[2]"
# Narrowed to month precision
calendar_narrow(x, "month")
#> <year_month_weekday<month>[1]>
#> [1] "2019-01"