geom to add stat_density2d position heatmap

geom_position_heatmap(x, y, bins = 25, ...)

Arguments

x

position x

y

position y

bins

number of bins in each direction (n parameter in statn_density)

...

other ggpolot arguments