GeomDayNight {ggdaynight} | R Documentation |
A ggproto object for creating a day/night pattern geom in ggplot2.
GeomDayNight
An object of class GeomDayNight
(inherits from Geom
, ggproto
).
This geom creates a pattern along the x-axis of a ggplot2 plot, distinguishing between daytime and nighttime using rectangles filled with specified colors.