Skip to contents

Computes the Nash-Sutcliffe efficiency coefficient

Usage

compute_NSE(obs, sim, na.rm = TRUE)

Arguments

obs

Observed streamflow vector

sim

Simulated streamflow vector

na.rm

Should missing values be omited ?

Value

1 - sum((sim-obs)^2)/sum((obs-mean(obs))^2)