Learn R Programming

spcosa (version 0.4-2)

SamplingPattern-class: Class "SamplingPattern"

Description

A class for storing a sampling pattern.

Arguments

Objects from the Class

Objects can be created by calls of the form new("SamplingPattern", ...). However, objects are usually created by calling spsample.

Slots

sample:

Object of class "SpatialPoints", containing the sampling locations.

Methods

coerce

signature(from = "SamplingPattern", to = "data.frame"): coerces to "data.frame".

coerce

signature(from = "SamplingPattern", to = "SpatialPoints"): coerces to "SpatialPoints".

getSampleSize

signature(object = "SamplingPattern"): returns the sample size.

plot

signature(x = "CompactStratification", y = "SamplingPattern"): plots sampling pattern y on top of stratification x.

plot

signature(x = "SamplingPattern", y = "missing"): plots sampling pattern x.

show

signature(object = "SamplingPattern"): prints object on the output device.

Author

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