Stats | R Documentation |
Error Statistics
tdStats(m, o,
functions = c("mo", "mm",
"sdo", "sdm",
"mbe", "mae", "rmse",
"nmbe", "cvmbe",
"nmae", "cvmae",
"nrmse", "cvrmse",
"r2", "tStone"))
applyStats(models, o,
functions = c("mo", "mm",
"sdo", "sdm",
"mbe", "mae", "rmse",
"nmbe", "cvmbe",
"nmae", "cvmae",
"nrmse", "cvrmse",
"r2", "tStone"))
m |
Numeric, vector, model values |
models |
Numeric, matrix, model values |
o |
Numeric, vector, observation values |
functions |
Character, name of functions to compute model errors. The package includes definitions for these functions:
There are also functions that normalize the MBE, MAE and RMSE values. |
A data.frame
with a column for each function, and a row for each model.
Oscar Perpiñán Lamigueiro
targetDiagram
,
target_diagram
data(modelEx)
## Analyze one model
tdStats(pvModels$M01, pvObs)
## Analyze a set of models
applyStats(pvModels, pvObs)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.