ggplot2 scale for an integer-period vector.
scale_x_grates_int_period(
...,
breaks = ggplot2::waiver(),
n.breaks = 6L,
centre = FALSE,
n
)
A scale for use with ggplot2.
Not currently used.
A <grates_int_period>
vector of the desired breaks.
[integer]
Approximate number of breaks calculated using scales::breaks_pretty
(default 6L).
Will only have an effect if breaks = waiver()
.
Only applicable to an int_period
object with n > 1
.
If FALSE labels are place at the edge of the bounds.
If TRUE then labels are centralised and of the form [lower, upper]
[integer]
Number used for the original grouping.