A scale for ggplots with SDTM day (DY) numbering
scale_x_VISITDY.Rd
The scale will skip over 0, always show 1 (if it is in the range of the data), provide breaks with preference toward week scales, and provide minor breaks every day.
Arguments
- ...
Passed to
ggplot2::scale_x_continuous()
See also
Other Output support:
make_param_label()
Examples
if (FALSE) {
ggplot(data.frame(x=-7:14, y=-7:14), aes(x=x, y=y, label=x)) +
scale_x_VISITDY() +
geom_text()
}