This is a iso-year-week-day method for the calendar_narrow()
generic. It
narrows a iso-year-week-day vector to the specified precision
.
Usage
# S3 method for class 'clock_iso_year_week_day'
calendar_narrow(x, precision)
Examples
# Day precision
x <- iso_year_week_day(2019, 1, 5)
x
#> <iso_year_week_day<day>[1]>
#> [1] "2019-W01-5"
# Narrowed to week precision
calendar_narrow(x, "week")
#> <iso_year_week_day<week>[1]>
#> [1] "2019-W01"