Learn R Programming

geozoning (version 1.0.0)

Sigmai2: Sigmai2

Description

Sigmai2

Usage

Sigmai2(index, listZonePoint, tabVal, surfaceVoronoi, meanZone)

Arguments

index

zone number

listZonePoint

list of pts within each zone

tabVal

SpatalPointsDataFrame holding data

surfaceVoronoi

vector of Voronoi surfaces associated to data values

meanZone

Zone mean values

Value

a list with components sigmai2 and SI

Details

computes mean (weighted) variance and Voronoi area for zone

Examples

Run this code
# NOT RUN {
data(mapTest)
data(resZTest)
K=resZTest
Sigmai2(5,K$listZonePoint,mapTest$krigData,mapTest$krigSurfVoronoi,K$meanZone)
# }

Run the code above in your browser using DataLab