yearmonthweekdaygroup {clock}  R Documentation 
This is a yearmonthweekday method for the calendar_group()
generic.
Grouping for a yearmonthweekday object can be done at any precision except
for "day"
, as long as x
is at least as precise as precision
.
## S3 method for class 'clock_year_month_weekday'
calendar_group(x, precision, ..., n = 1L)
x 
A yearmonthweekday vector. 
precision 
One of:

... 
These dots are for future extensions and must be empty. 
n 
A single positive integer specifying a multiple of 
Grouping by "day"
is undefined for a yearmonthweekday because there are
two day fields, the weekday and the index, and there is no clear way to
define how to group by that.
x
grouped at the specified precision
.
x < year_month_weekday(2019, 1:12, clock_weekdays$sunday, 1, 00, 05, 05)
x
# Group by 3 months  drops more precise components!
calendar_group(x, "month", n = 3)