Kernel Density Plot

lindbrook

2023-03-01

By default, the addKernelDensity() function pools all observations:

snowMap()
addKernelDensity()

However, this presuppose that all cases have a common source. To consider the possible existence of multiple pump neighborhoods, the function provides two ways to explore hypothetical scenarios.

By using the pump.select argument, you can define a “population” of pump neighborhoods by specify the pumps to consider:

snowMap()
addKernelDensity(pump.select = c(6, 8))

By using the pump.subset argument, you can define the subset of the “population” to consider:

snowMap()
addKernelDensity(pump.subset = c(6, 8))