nse: Computes the Nash-Sutcfliff efficiency coefficient

Description Usage Arguments Value

View source: R/performance_metrics.R

Description

Given two streamflow vectors of same length (observer 'obs' and simulated 'sim' streamflow), this functions computes the corresponding Nash-Sutcliff efficiency.

Usage

1
nse(obs, sim, na.rm = TRUE)

Arguments

obs

numeric vector. Observed streamflow vector.

sim

numeric vector. Simulated streamflow vector.

na.rm

logical. Whether missing values should be ignored.

Value

Returns a float value between -Inf and 1 corresponding to the Nash-Sutcfliff efficiency coefficient.


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