predAccuracy: A function for accuracy assessment between an array of two variables
Description
This function calculates statistical indices for accuracy between an array of two variables such as calibration and validation vectors. The indices are Bias, RMSE, R-squared, and NSE
Usage
predAccuracy(x,y)
Value
A table of four variables: bias, RMSE, Rsquared, and NSE
Arguments
x
a numeric vector of first variable of the two variables for accuracy assessment
y
a numeric vector of second variable of the two variables for accuracy assessment
Author
Christian Thine Omuto
Details
The function calculates four indices for accuracy: bias, root mean square error (RMSE), r-squared, Nash-sutcliffe efficiency (NSE)
References
Becker, R. A., Chambers, J. M. and Wilks, A. R. 1988. The New S Language. Wadsworth & Brooks/Cole.
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