ggplot2 scales grouped date objects; yrwk
, yrmon
, yrqtr
and period
.
1 2 3 4 5 6 7 | scale_x_yrwk(..., n = 5, firstday)
scale_x_yrmon(..., n = 5)
scale_x_yrqtr(..., n = 5)
scale_x_period(..., n = 5, interval, firstdate)
|
... |
Other arguments passed to |
n |
Number of breaks (default 5) |
firstday |
Integer value of the first weekday: 1 (Monday) to 7 (Sunday). |
interval |
interval ga |
firstdate |
date the period is anchored / started from |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.