week_breaks {phylepic} | R Documentation |
Breaks for week-binning date axes
Description
Breaks for week-binning date axes
Usage
week_breaks(width = 1L, week_start = getOption("phylepic.week_start"))
Arguments
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 |
Value
A break function suitable for use in ggplot2::scale_x_date()
et al.
[Package phylepic version 0.2.0 Index]