Description Usage Arguments Details Examples
View source: R/calculateChannelMorphology.R
Calculate the channel metrics: xbkf_w, sdbkf_w, n_bw, xinc_h, sdinc_h, n_incis, xbkf_h, sdbkf_h, n_bh.
1 | calculateChannelMetrics(uid, bankwid, incishgt, bankhgt)
|
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 |
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.
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.