e {mapsRinteractive} | R Documentation |
e
Description
Calculates the Nash-Sutcliffe modelling efficiency (E) from observed and predicted values.
Usage
e(observed, predicted)
Arguments
observed |
Numeric vector of observed values |
predicted |
Numeric vector of predicted values. The length shall be the same as for observed. |
Details
E = 1 - sum(observed - predicted)/sum(observed - mean (observed))
Value
The Nash-Sutcliffe modelling efficiency (E) calculated from observed and predicted values.
References
Nash, J. E., & Sutcliffe, J. V. (1970). River flow forecasting through conceptual models part I—A discussion of principles. Journal of hydrology, 10(3), 282-290.
Examples
o<-1:5
p<-c(2,2,4,3,5)
e(observed=o, predicted=p)
[Package mapsRinteractive version 2.0.1 Index]