SameSegmentClusters.sample: For sampling designs including clusters of samples, this...

Description Usage Arguments Value

View source: R/SameSegmentClusters.sample.R

Description

For sampling designs including clusters of samples, this function selects clustered samples within each reach that is provided.

Usage

1
2
3
SameSegmentClusters.sample(ssn.obj,
  ClustDistMethod = "prop.shortest.seg", segment.vector, max.dist = NA,
  cluster.size, start.point.method = "random", bin.table)

Arguments

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

Value

a data.frame


apear9/SSNdesign documentation built on Feb. 19, 2020, 4:29 a.m.