calculateChannelMetrics: Calculate channel metrics

Description Usage Arguments Details Examples

View source: R/calculateChannelMorphology.R

Description

Calculate the channel metrics: xbkf_w, sdbkf_w, n_bw, xinc_h, sdinc_h, n_incis, xbkf_h, sdbkf_h, n_bh.

Usage

1
calculateChannelMetrics(uid, bankwid, incishgt, bankhgt)

Arguments

uid

a vector of site identifiers

bankwid

a vector of bankfull width measurements; sum of extra transect pairs

incishgt

a vector of incision heights; max of extra transect pairs

bankhgt

a vector of bankfull heights; max of extra transect pairs

Details

The EPA uses data where the extra transect - transect pairs have been joined. The bankwid argument is the sum of the extra transect pairs, the incishgt and bankhgt arguments are the max of the extra transect pairs. These can be calculated using joinExtraTransects.

Examples

1
2
d <- data.frame(uid = rep(1:10, 11), bankwid = runif(110), incishgt = runif(110), bankhgt = runif(110))
calculateChannelMetrics(d$uid, d$wetwid, d$bankwid, d$incishgt, d$bankhgt)

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