runoff_coefficient: Compute the runoff coefficient

Description Usage Arguments Details Value

View source: R/runoff_coefficient.R

Description

compute the runoff coefficient or ratio: the ratio between the total strealfow volume and the total precipitaion volume.

Usage

1
runoff_coefficient(Q, P, na.rm = TRUE)

Arguments

Q

numeric vector. Streamflow values.

P

numeric vector. Precipitation values.

na.rm

logical. Should missing values be omited?

Details

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.

Value

A single numeric value corresponding to the runoff coefficient


IvanHeriver/hsa-R-package documentation built on Dec. 17, 2021, 11:32 p.m.