CompactStratificationEqualArea-class {spcosa}R Documentation

Class "CompactStratificationEqualArea"

Description

A class for storing a stratification with compact strata of equal size.

Objects from the Class

Objects can be created by calls of the form new("CompactStratificationEqualArea", cells, stratumId, centroids, mssd). However, objects are usually created by calling stratify.

Slots

cells:

Object of class "SpatialPixels", representing the area to be partitioned.

stratumId:

Object of class "integer", indicating to which stratum each cell in cells belong.

centroids:

Object of class "SpatialPoints", representing the centers of gravity of each stratum.

mssd:

Object of class "numeric", representing the mean squared shortest distance.

Extends

Class "CompactStratification", directly. Class "Stratification", by class "CompactStratification", distance 2.

Methods

estimate

signature(statistic = "SamplingVariance", stratification = "CompactStratificationEqualArea", samplingPattern = "SamplingPatternRandomComposite", data = "data.frame"): estimates the sampling variance. See "SamplingVariance" for more details.

estimate

signature(statistic = "SpatialMean", stratification = "CompactStratificationEqualArea", samplingPattern = "SamplingPatternRandomComposite", data = "data.frame"): estimates the spatial mean. See "SpatialMean" for more details.

spsample

signature(x = "CompactStratificationEqualArea", n = "missing", type = "missing"): returns the centers of gravity of each stratum.

spsample

signature(x = "CompactStratificationEqualArea", n = "numeric", type = "missing"): randomly selects n sampling points in each stratum.

spsample

signature(x = "CompactStratificationEqualArea", n = "numeric", type = "character"): randomly selects n sampling points in each stratum. if type = "composite", stratified simple random sampling of n composites.

Author(s)

Dennis J. J. Walvoort dennis.walvoort@wur.nl, D.J. Brus, J.J. de Gruijter


[Package spcosa version 0.4-2 Index]