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