shapeInterpolation: shapeInterpolation

Description Usage Arguments Value Examples

Description

shapeInterpolation interpolates a shapefile field to a raster with krige

Usage

1
2
shapeInterpolation(shape, field, cellsize, shape.mask = NULL,
  showPercentage = FALSE)

Arguments

shape

Shapefile. Spatial object to be interpolated

field

Character. Field to be considered

cellsize

Numeric. Raster output resolution in meters

shape.mask

Optional. Shapefile object as a mask

showPercentage

Optional. Logical. By default no percentage is shown

Value

a raster.

Examples

1
2
3
4
5
## Not run: 
raster.interpolated <- shapeInterpolation(shape2, 'NDVI', 0.2, showPercentage = T)
raster.interpolated <- shapeInterpolation(shape2, 'TC', 5, shape.mask = shapemask)

## End(Not run)

ahornero/rsensing documentation built on May 8, 2019, 1:37 a.m.