Last chance! 50% off unlimited learning
Sale ends in
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# See stat_density for examples
Run the code above in your browser using DataLab