geom_density(mapping = NULL, data = NULL, stat = "density", position = "identity", na.rm = FALSE, ...)
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
TRUEsilently removes missing values.
layer. This can include aesthetics whose values you want to set, not map. See
layerfor more details.
A smooth density estimate calculated by
geom_density understands the following aesthetics (required aesthetics are in bold):
# See stat_density for examples