Horizontal reference at median with ggplot2
stat_hmedian(
mapping = NULL,
data = NULL,
geom = "hline",
position = "identity",
na.rm = FALSE,
show.legend = NA,
inherit.aes = TRUE,
...
)
Set of aesthetic mappings created by aes or aes_.
The data to be displayed in this layer.
Use to override the default geom
Position adjustment, either as a string, or the result of a call to a position adjustment function.
If FALSE, the default, missing values are removed with a warning. If TRUE, missing values are silently removed.
logical. Should this layer be included in the legends? NA, the default, includes if any aesthetics are mapped. FALSE never includes, and TRUE always includes.
If FALSE, overrides the default aesthetics, rather than combining with them.
other arguments passed on to layer.
geom_smooth understands the following aesthetics (required aesthetics are in bold):
x, alpha, colour, fill, group, shape, size, stroke
Provide normal QQplot