Learn R Programming

spcosa (version 0.4-2)

CompactStratificationPriorPoints-class: Class "CompactStratificationPriorPoints"

Description

A class for storing a stratification with compact strata, given prior sampling locations.

Arguments

Objects from the Class

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

Slots

priorPoints:

Object of class "SpatialPoints", containing the coordinates of the existing locations.

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

spsample

signature(x = "CompactStratificationPriorPoints", n = "missing", type = "missing"): returns the centers of gravity of strata without prior points in addition to the prior points.

Author

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