week_breaks | R Documentation |
Breaks for week-binning date axes
week_breaks(width = 1L, week_start = getOption("phylepic.week_start"))
width |
Number of weeks between breaks (e.g. |
week_start |
Day the week begins (defaults to Monday).
Can be specified as a case-insensitive English weekday name such as "Monday"
or an integer. Since you generally won't want to mix definitions, it is
more convenient to control this globally with the |
A break function suitable for use in ggplot2::scale_x_date()
et al.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.