Description Usage Arguments Value References
View source: R/Stream.Network.Samples.R
For a Spatial Stream Network with a dense grid of potential sampling locations, this function draws samples according to the sampling designs found most optimal in Som et al. (2014), and a few others.
1 2 3 | Stream.Network.Samples(ssn.list, sample.method, sample.size, use.locID,
cluster.number = NULL, Wmat = NULL, DistMat = NULL,
ClustDistMethod, max.dist, ...)
|
ssn.list |
an object of class list that contains one item names "ssn.object" which is a SpatialStreamNetwork and another item named "bin.table" which is the binaryID table for the assoicated SpatialStreamNetwork |
sample.method |
a character vector providing the label for the specific sampling design that is desired, with references to Som et al. (2014) including simple random sample "SRS", "GRTS", "GRTSmouth", "GRTSclus", "Headwater.Clust.and.Singles", "Trib.Sets.Head.Singles.sample", "Trib.Sets.Head.Singles.Mouth.sample" |
sample.size |
a numeric scalar with the desired sample size (USUALLY) but can differ depending on sampling design chosen - something to clean up. |
use.locID |
a logical indicating whether sites should be selected by locID instead of pid. |
cluster.number |
a numeric scalar for the number of sampling locations contained within each clusted sample. |
Wmat |
leftover from previous version of function when weigths matrix required as input |
DistMat |
leftover from previous version of function when distance matrix required as input |
ClustDistMethod |
An argument that controls the way that clusters of sites are created. Defaults to |
max.dist |
The largest distance (in map units) that can separate any two sites belonging to a single cluster. Defaults to the minimum edge length in the SSN. Leave blank if you have no strong beliefs about what this should be. |
... |
Other arguments to internal functions. None implemented as yet. |
a list containing a SpatialStreamNetwork for the selected samples, and a numeric vector with the selected pids
Som, N.A., Monestiez, P., Ver Hoef, J.M., Zimmerman, D.L., & Peterson, E.E. (2014). Spatial sampling on streams: principles for inference on aquatic networks. Environmetrics, 25(5), 306-323. doi: 10.1002/env.2284.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.