powered by
Good of fitting
GOF(Y_obs, Y_sim, w, include.r = TRUE, include.cv = FALSE)
Numeric vector, observations
Numeric vector, corresponding simulated values
Numeric vector, weights of every points. If w included, when calculating mean, Bias, MAE, RMSE and NSE, w will be taken into considered.
If true, r and R2 will be included.
If true, cv will be included.
RMSE root mean square error
RMSE
NSE NASH coefficient
NSE
MAE mean absolute error
MAE
AI Agreement index (only good points (w == 1)) participate to calculate. See details in Zhang et al., (2015).
AI
Bias bias
Bias
Bias_perc bias percentage
Bias_perc
n_sim number of valid obs
n_sim
cv Coefficient of variation
cv
R2 correlation of determination
R2
R pearson correlation
R
pvalue pvalue of R
pvalue
Zhang Xiaoyang (2015), http://dx.doi.org/10.1016/j.rse.2014.10.012
# NOT RUN { Y_obs = rnorm(100) Y_sim = Y_obs + rnorm(100)/4 GOF(Y_obs, Y_sim) # }
Run the code above in your browser using DataLab