getVoronoiInterpolation: Get a piecewise constant inerpolation based on the voronoi...

View source: R/voronoi.R

getVoronoiInterpolationR Documentation

Get a piecewise constant inerpolation based on the voronoi diagram

Description

Get a piecewise constant inerpolation based on the voronoi diagram

Usage

getVoronoiInterpolation(shp, varToInterpolate, fctToAggregate = mean)

Arguments

shp,

sf object

varToInterpolate,

chr variable to interpolate

fctToAggregate

fct used e.g. mean, median, max or other statistic

Value

voronoi, sf object with col varToInterpolate


cgauvi/sfSpHelpers documentation built on June 30, 2023, 10:48 p.m.