smooth_raster: Create kde density version of a raster

Description Usage Arguments

View source: R/smooth_raster.R

Description

Create kde density version of a raster

Usage

1
2
3
smooth_raster(x, bw = raster::res(x), smooth_fact = 5,
  keep_resolution = TRUE, na.rm = TRUE, pad = TRUE,
  threshold = NULL, ...)

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 as x or keep the disaggregated raster resulting from smooth_fact?

na.rm

should the NA value be removed from the raster?

pad

should the data be padded?

threshold

cells with a lower (weighted) value of this threshold will be removed.

...

passed through to focal.


sdcSpatial documentation built on July 20, 2019, 1:04 a.m.