Skip to content
Prev 21856 / 29559 Next

sample with varying intensity according to local density

Nicholas--
You might also want to consider the spsurvey package (in the spatial task
view or http://cran.r-project.org/web/packages/spsurvey/index.html).  It
supports stratified and unstratified unequal probability independent random
sampling, which is how I interpret your first aspect if it is stand-alone.

If you need #1 and #2 in the same sample design, spsurvey also supports
generalized random tessellation stratified (GRTS) sampling, which is a
slick and useful design that is almost as spatially-balanced or spread as
grid sampling, but is also a probability design, so it works well for both
design-based estimators and model-based estimators such as kriging.  GRTS
samples are also easy to enlarge or reduce if some points are unsampleable,
which isn't possible with grid sampling.  GRTS works for sampling from both
continuous domains (e.g., areas) or finite domains (sets of spatial
locations), and supports stratification as well as unequal probability
sampling within and between strata.  And, the package includes functions
for analyses of the resulting data, including a neighborhood variance
estimator for GRTS.  It might not meet your needs, but I recommend you
consider it.

Tom 2

On Mon, Oct 20, 2014 at 1:09 AM, Rolf Turner <r.turner at auckland.ac.nz>
wrote: