calculateProportionSeeOverBank: Calculates the proportion of the reach over which you can see...

Description Usage Arguments Value Examples

View source: R/calculateChannelChar.R

Description

Calculates the metric pct_ovrb; the proportion of the reach over which an observer can see over the bank. For boatable sites only.

Usage

1
calculateProportionSeeOverBank(uid, see.over.bank)

Arguments

uid

a vector of site identifiers

see.over.bank

a logical vector or vector containing the character string 'YES'.

Value

a 'metric' data.frame (i.e., one with uid, metric, result fields)

Examples

1
2
3
uid <- rep(1:10, each = 11)
see.over.bank <- sample(c('YES', 'NO'), n = 10 * 11, replace = T)
calculateProportionSeeOverBank(uid, see.over.bank)

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