lissage | R Documentation |
Kernel weighted smoothing with arbitrary bounding area Adapted from: https://www.r-bloggers.com/kernel-spatial-smoothing-transforming-points-pattern-to-continuous-coverage/
lissage(df, field, bandwidth, resolution, grid, out_crs = 32198)
zoneGrid(studyArea, resolution, bandwidth)
df |
sf object (points) |
field |
weigth field in sf |
resolution |
output grid resolution (map units) |
grid |
sf study grid (polygon) |
out_crs |
EPSG (should be an equal-area projection) |
bandwith |
kernel bandwidth (map units) |
a raster object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.