stat_density2d(mapping = NULL, data = NULL,
geom = "density2dtern", position = "identity",
na.rm = FALSE, contour = TRUE, n = 100, ...)
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.TRUE
, contour the results of the
2d density estimationkde2d
geom_density2d