q_from_flow | R Documentation |
Compute discharge from flow measurements
q_from_flow( depth, velocity, flowID = rep(1, length(depth)), width, widthID = rep(1, length(width)), na.rm = FALSE )
depth |
a vector of depth measurements |
velocity |
a vector of velocity measurements |
flowID |
a vector of IDs (e.g., site numbers) corresponding to depth/velocity measurements |
width |
a vector of stream widths |
widthID |
a vector of IDs for width measurements to match to flowID |
na.rm |
should NAs be removed before computation? |
A data.table giving discharge by ID
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.