Description Usage Arguments Value
View source: R/SameSegmentClusters.sample.R
For sampling designs including clusters of samples, this function selects clustered samples within each reach that is provided.
1 2 3 | SameSegmentClusters.sample(ssn.obj,
ClustDistMethod = "prop.shortest.seg", segment.vector, max.dist = NA,
cluster.size, start.point.method = "random", bin.table)
|
ssn.obj |
an object of class SpatialStreamNetwork |
ClustDistMethod |
a character vector providing the method for how clustered samples are selected from within a single reach. |
segment.vector |
a numeric vector of rids for which clustered samples are desired. |
max.dist |
an optional distance provided as the upper limit for a distance between two locations within a common reach whereby those locations can be selected into a common cluster. |
cluster.size |
the number of points per cluster. |
start.point.method |
a character vector providing the method for how the first location in each cluster should be selected |
bin.table |
an object of class data.frame which represents the bindaryID object for a SpatialStreamNetwork |
a data.frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.