modStats(mydata, mod = "mod", obs = "obs", statistic = c("n", "FAC2",
"MB", "MGE", "NMB", "NMGE", "RMSE", "r", "COE", "IOA"), type = "default",
rank.name = NULL, ...)mydata that respresents modelled
values.mydata that respresents measured
values.type determines how the data are split
i.e. conditioned, and then plotted. The default is will produce
statistics using the entire data. type can be one of the
built-in types as detailed in cutData e.g. rank.name is supplied. rank.name will generally
refer to a column representing a model name, which is to
ranked. The ranking is based the COE performance, as that
indicator is arguabcutData e.g.
hemisphere = "southern"methode.g.method = "spearman"mod and obs.
Conditioning is possible through setting type, which can be
a vector e.g. type = c("weekday", "season").
Details of the formulas are given in the openair manual.## the example below is somewhat artificial --- assuming the observed
## values are given by NOx and the predicted values by NO2.
modStats(mydata, mod = "no2", obs = "nox")
## evaluation stats by season
modStats(mydata, mod = "no2", obs = "nox", type = "season")Run the code above in your browser using DataLab