Description Usage Arguments Value Examples
View source: R/interpolate_akima.R
Wrapper function for interp
.
1 | interpolate_akima(x, linear = TRUE)
|
x |
|
... |
Arguments passed on to
|
RasterLayer
1 2 3 4 5 6 7 8 9 10 11 12 | dem <- raster(system.file("external/dtm.grd", package="rdemtools"))
plot(dem)
xy <- xyFromCell(dem, sampleRegular(dem, 10, cells = TRUE)[, 1])
voids <- fake_voids(xy, 100, dem)
plot(voids)
dem[voids] <- NA
plot(dem)
dem <- interpolate_akima(dem)
plot(dem)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.