Skip to contents

This function calculates the ratio of RMSE and standard deviation for different segments of the flow duration curve (FDC).

Usage

calc_fdc_rsr(fdc_sim, fdc_obs, quantile_splits, out_tbl = "long")

Arguments

fdc_sim

a tibble with simulated flow data.

fdc_obs

a tibble with observed flow data.

quantile_splits

a numeric vector with quantiles for splitting the FDC.

out_tbl

character specifying the output format ('long' or 'wide'). Default out_tbl = 'long'.

Value

a tibble with RSR values for the different segments of the FDC.

Examples

if (FALSE) {
fdc_sim <- calc_fdc(runif(100))
fdc_obs <- calc_fdc(runif(100))
rsr_values <- calc_fdc_rsr(fdc_sim, fdc_obs, c(5, 20, 70, 95))
}