year-month-weekday-narrow | R Documentation |
This is a year-month-weekday method for the calendar_narrow()
generic. It
narrows a year-month-weekday vector to the specified precision
.
## S3 method for class 'clock_year_month_weekday'
calendar_narrow(x, precision)
x |
A year-month-weekday vector. |
precision |
One of:
|
x
narrowed to the supplied precision
.
# Day precision
x <- year_month_weekday(2019, 1, 1, 2)
x
# Narrowed to month precision
calendar_narrow(x, "month")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.