ggpointdensity icon indicating copy to clipboard operation
ggpointdensity copied to clipboard

How exactly the number of neighbors is calculated?

Open bkenm opened this issue 2 years ago • 1 comments

Sorry if I didn't understand the adjust parameter, but if you could help in this issue, I would appreciate a lot.

The question is mainly about the bandwidth. What do you mean by default bandwidth? I calculated for some values for adjust, but still, it's hard to understand precisely the distance threshold.

Thank you for your attention.

bkenm avatar Oct 26 '21 13:10 bkenm

https://github.com/LKremer/ggpointdensity/blob/02f3ab24eb22e3e34294baeca23a8998db43be70/R/geom_pointdensity.R#L106-L109

jan-glx avatar Jun 18 '23 16:06 jan-glx