predAccuracy | R Documentation |
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
predAccuracy(x,y)
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 |
The function calculates four indices for accuracy: bias, root mean square error (RMSE), r-squared, Nash-sutcliffe efficiency (NSE)
A table of four variables: bias, RMSE, Rsquared, and NSE
Christian Thine Omuto
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
predUncertain
, featureRep
xy=data.frame(a=c(2,3,4,5,6,7,8,9),b=c(1,1.5,8,10,12,3.5,NA,18))
predAccuracy(xy$a,xy$b)$Rsquared
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.