The null geom can be used to silence graphic output from a stat, such as stat_debug_group() and stat_debug_panel() defined in this same package. No visible graphical output is returned. An invisible grid::grid_null() grob is returned instead.
geom_null(mapping = NULL, data = NULL, stat = "identity", position = "identity", na.rm = FALSE, show.legend = FALSE, inherit.aes = TRUE, ...)
Set of aesthetic mappings created by
A data frame. If specified, overrides the default data frame defined at the top level of the plot.
The statistical transformation to use on the data for this layer, as a string.
Position adjustment, either as a string, or the result of a call to a position adjustment function.
logical. Should this layer be included in the legends?
other arguments passed on to
This _geom_ is very unusual in that it does not produce visible graphic
output. It only returns a
grid::grid_null() grob (graphical object).
Although this geom accepts for consistency all the same parameters as normal geoms, these have no effect on the output, except for show.legend.