Description Usage Arguments Details Value Author(s) References See Also Examples
Draws an equiprobable unstratified Generalized Random
Tessellation Stratified (GRTS) sample from a SpatialPolygons*
object
1  grts.polygon(x, n, over.n = 0)

x 
A 
n 
Sample size. The number of 'sample' points to draw from 
over.n 
Oversample size. The number of 'oversample' points to draw
from 
This is a wrapper for the grts
function in package spsurvey
.
This simplifies calling grts
when equiprobable samples are
desired. It extends the allowable input frame types to SpatialPolygons
objects
(i.e., no attributes),
rather than just SpatialPolygonsDataFrame
objects. For more
complicated designs (e.g., variable probability, stratification), call
grts
directly.
A SpatialPointsDataFrame
containing locations in the GRTS sample, in
order they are to be visited. Attributes of the sample points (in the embedded data frame) are
as follows:
sampleID
: Unique identifier for points in the sample.
This encodes the GRTS ordering of the sample. The output object
comes presorted in GRTS order.
If the sample becomes unGRTSordered, resort
by sampleID
(i.e., samp < samp[order(samp$sampleID),]
).
pointType
: A string identifying regular sample points (pointType=="Sample"
)
and oversample points (pointType=="OverSample"
).
geometryID
: The ID of the polygon in x
which each
sample points fall. The
ID of polygons in x
are row.names(geometry(x))
.
Any attributes of the original polygons (in x
).
Additional attributes of the output object, beyond those which
make it a SpatialPointsDataFrame
, are:
frame
: Name of the input sampling frame.
frame.type
: Type of resource in sampling frame. (i.e., "polygon").
sample.type
: Type of sample drawn. (i.e., "GRTS").
n
: Regular sample size. (i.e., sum(out$pointType=="Sample")
)
over.n
: Oversample size. (i.e., sum(out$pointType=="OverSample")
)
Trent McDonald
Stevens, D. L. and A. R. Olsen (1999). Spatially restricted surveys over time for aquatic resources. Journal of Agricultural, Biological, and Environmental Statistics 4 (4), 415428.
Stevens, D. L. and A. R. Olsen (2004). Spatially balanced sampling of natural resources. Journal of the American Statistical Association 99, 262278.
grts.line
, grts.polygon
, hal.polygon
,
bas.polygon
, sdraw
1 2 3 4 5 6 7 8 9 10 11 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.