calculateSideChannelCount: Calculates number of side channel transects: 'sidecnt'

Description Usage Arguments Value Examples

View source: R/calculateGeneral.r

Description

Calculates the number of side channel transects for wadeable sites only. These are transects that are marked with an 'X' prefix in the database. The metric name is 'sidecnt'. The inputs are just the vector of site identifiers and transect identifiers for each site.

Usage

1

Arguments

uid

a vector of site identifiers

transect

the unique vector of transects for each site

Value

a 'metric' data.frame

Examples

1
2
d <- expand.grid(uid = 1:10, transect = c(LETTERS, 'XA'))
calculateSideChannelCount(d$uid, d$transect)

jasonelaw/nrsa documentation built on Nov. 8, 2019, 11:34 a.m.