Create kde density version of a raster
Arguments
- x
raster object
- bw
bandwidth
- smooth_fact
integer
, disaggregate factor to have a better smoothing- keep_resolution
integer
, should the returned map have same resolution asx
or keep the disaggregated raster resulting fromsmooth_fact
?- na.rm
should the
NA
value be removed from the raster?- pad
should the data be padded?
- padValue
what should the padding value be?
- threshold
cells with a lower (weighted) value of this threshold will be removed.
- type
what is the type of smoothing (see
raster::focal()
)- ...
passed through to
focal
.