By default, the addKernelDensity()
function pools all observations:
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:
By using the pump.subset
argument, you can define the subset of the “population” to consider: