Stats {tdr} | R Documentation |
Error Statistics
Description
Error Statistics
Usage
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"))
Arguments
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. |
Value
A data.frame
with a column for each function, and a row for each model.
Author(s)
Oscar Perpiñán Lamigueiro
See Also
Examples
data(modelEx)
## Analyze one model
tdStats(pvModels$M01, pvObs)
## Analyze a set of models
applyStats(pvModels, pvObs)
[Package tdr version 0.13 Index]