Description Usage Arguments Details Value
Calculates the thalweg depth metrics (xdepth, sddepth, n_d) form thalweg depth data.
1 2 | calculateThalwegDepthMetrics(uid, is.wadeable, depth, units = c("m", "cm",
"mixed"))
|
uid |
a vector of site identifiers |
is.wadeable |
a logical vector, TRUE for each depth that is from a wadeable protocol site (versus a non-wadeable protocol). |
depth |
a vector of thalweg depths |
desired |
output units. Can be one of |
The EPA code assumes input data in meters, which this function also assumes.
However, the EPA code reports the metrics for wadeable sites in centimeters.
This code includes an argument units
, which allows the user to specify
the desired output units. The mixed
option mimics the EPA behavior.
a 'metric' data.frame
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.