By default, the addKernelDensity()
function pools all observations:
snowMap(add.title = FALSE)
addKernelDensity()
However, with this function you can also specify which pumps should be considered (i.e., define the “population” of pump neighborhoods) by using the pump.select
argument and which subset of selected neighborhoods should be plotted by using the pump.subset
argument.
snowMap(add.title = FALSE)
addKernelDensity(pump.subset = c(6, 8))
snowMap(add.title = FALSE)
addKernelDensity(pump.select = c(6, 8))