stat_density
.geom_density(mapping = NULL, data = NULL,
stat = "density", position = "identity", na.rm = FALSE,
...)
aes
or aes_string
. Only
needs to be set at the layer level if you are overriding
the plot defaults.FALSE
(the default), removes
missing values with a warning. If TRUE
silently
removes missing values.geom_histogram
for the histogram and
stat_density
for examples.