View source: R/qualityMeasure.R
qualityMeasure | R Documentation |
Function that returns several efficiency indices of model performance wrt observed data
qualityMeasure(pd, od, wt, measures=c("Willmott",
"Nash Sutcliffe"),p_value=FALSE)
pd |
Predicted data. Format required: numeric vector. |
od |
Observed data. Must be the same format and length as |
wt |
A vector of weights. The same length as |
measures |
A vector of supported statistical measures. Currently available are: "Willmott", "Willmott refined", "Nash Sutcliffe", "RMSE", "MAE", "Pearson","Kendall","Spearman". |
p_value |
p_value=TRUE,reports significance level of Pearson, Kendall and Spearmann coefficients. |
Returns a numeric vector with calculated measures. Names of vector elements are the measures applied.
Misko Stevanovic,Xiaoxi Wang
## Not run:
od <- rnorm(1000)
pd <- rnorm(1000)
qualityMeasure(pd,od)
qualityMeasure(pd,od,measures=c("RMSE","Pearson","Willmott refined"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.