Description Usage Arguments Details Value
View source: R/runoff_coefficient.R
compute the runoff coefficient or ratio: the ratio between the total strealfow volume and the total precipitaion volume.
1 | runoff_coefficient(Q, P, na.rm = TRUE)
|
Q |
numeric vector. Streamflow values. |
P |
numeric vector. Precipitation values. |
na.rm |
logical. Should missing values be omited? |
Warning: no checks are done on inputs! You should have selected the proper period beforehand: both vector should be of same length and span over the same period. In addition the runoff coefficient should be compute from the start of a hydrological year to the end of a hydrological year.
A single numeric value corresponding to the runoff coefficient
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.