Description Usage Arguments Value Examples
Create ggplot breaks/labels/limits that make sample period easily to understand
1 | get_break_labels(dateSeries, dY = 1, labeltype = "yy")
|
dateSeries |
A date series from lubridate::ymd() |
dY |
An integer. The span between two break years. Default=1 |
labeltype |
A character, either 'yyyy' or 'yy', specifies how you want the year to be labels. |
A list of 3: breaks, labels and limits, for you to use in scale_... in ggplot2
1 | none
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.