rt_floor_date_factor | R Documentation |
date_floor: 'week' gives 'YYYY-MM-DD' with the 'Monday' as the date when week_start is '1' date_floor: 'month' gives 'YYYY-MM' date_floor: 'quarter' gives 'YYYY-QX' date_floor: 'year' gives 'YYYY'
rt_floor_date_factor(date_vector, date_floor = "week", week_start = 1)
date_vector |
the date vector |
date_floor |
'week', 'month', 'quarter', 'year' |
week_start |
same values of floor_date, defaults to '1' which starts the week on Monday |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.