
wMean
wMean(type, listZonePoint, surfVoronoi, data)
1-squared mean, 2-mean
list of data points belonging to zone
areas of Voronoi polygon corresponding to data points
SpatialPointsDataFrame
a vector of mean zone values
computes weighted mean or squared mean of zone data
# NOT RUN {
data(mapTest)
data(resZTest)
K=resZTest
wMean(1,K$listZonePoint,mapTest$krigSurfVoronoi,mapTest$krigData)
# }
Run the code above in your browser using DataLab