bias: compute the bias between simulated and observed data

Description Usage Arguments Value

View source: R/performance_metrics.R

Description

This function compute the bias (unitless) between simulated and observed streamflow data.

Usage

1
bias(obs, sim, na.rm = TRUE, sim_minus_obs = TRUE)

Arguments

obs

numeric vector. Observed streamflow vector.

sim

numeric vector. Simulated streamflow vector.

na.rm

logical. Whether missing values should be ignored.

sim_minus_obs

logical. should it be sim - obs? (or the other way around)

Value

Returns a float value corresponding to the bias.


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