iso-year-week-day-widen | R Documentation |
This is a iso-year-week-day method for the calendar_widen()
generic. It
widens a iso-year-week-day vector to the specified precision
.
## S3 method for class 'clock_iso_year_week_day'
calendar_widen(x, precision)
x |
A iso-year-week-day vector. |
precision |
One of:
|
x
widened to the supplied precision
.
# Week precision
x <- iso_year_week_day(2019, 1)
x
# Widen to day precision
# In the ISO calendar, the first day of the week is a Monday
calendar_widen(x, "day")
# Or second precision
sec <- calendar_widen(x, "second")
sec
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.