wMean: wMean

Description Usage Arguments Details Value Examples

Description

wMean

Usage

1
wMean(type, listZonePoint, surfVoronoi, data)

Arguments

type

1-squared mean, 2-mean

listZonePoint

list of data points belonging to zone

surfVoronoi

areas of Voronoi polygon corresponding to data points

data

SpatialPointsDataFrame

Details

computes weighted mean or squared mean of zone data

Value

a vector of mean zone values

Examples

1
2
3
4
data(mapTest)
data(resZTest)
K=resZTest
wMean(1,K$listZonePoint,mapTest$krigSurfVoronoi,mapTest$krigData)

geozoning documentation built on May 2, 2019, 9:43 a.m.