scale_x_wid | R Documentation |
Yearweek values are generated by iso_yearweek()
function
scale_x_wid(
ww,
week.sep = "s",
breaks = "auto",
col.yw = "yw",
label = "yw",
by = NULL,
week = NULL,
complete = FALSE,
n.pretty = 5
)
ww |
data.frame() associating wid to yearweek |
week.sep |
separator for yearweek week label |
breaks |
start|auto|all|by|year|week breaks strategy or a function(limits) returing breaks |
col.yw |
yearweek values column in [ww] |
label |
labelling strategy (yw or "year" for year label), or function(yw) |
by |
number of week step to use if breaks="by" |
week |
number to use if breaks=week |
complete |
force the ww data.frame to be complete (recompute wid) from yearweek range |
n.pretty |
number ticks to generate (breaks=auto) |
start, year : tick is first week of the year
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.