stats | R Documentation |
Calculate statistical indexes
stats(
mo,
ob,
spinup = 0,
wd = FALSE,
Mughal = FALSE,
scatter = F,
add = F,
cor = "#FF000088",
lim = NA,
cutoff = NA,
cutoff_NME = NA,
nobs = 8,
verbose = T,
...
)
mo |
model |
ob |
observed data |
spinup |
number of model points excluded to the statistic |
wd |
logical, true for wind direction, see notes |
Mughal |
logical, to use Mughal et al. (2017) for MB and ME for wind direction |
scatter |
set TRUE to plot a scatter plot |
add |
set TRUE to add the points to a scatter plot |
cor |
color of scatterplot dots |
lim |
scatter plot limits |
cutoff |
(optionally the maximum) valid value for observation |
cutoff_NME |
(optionally the maximum) valid value for observation for NME |
nobs |
minimum number of observations |
verbose |
display additional information |
... |
extra arguments passed to scatter plot |
MB and ME are calculated using Mughal et al. (2017) for wind direction
model <- 1:100
data <- model + rnorm(100,0.2)
stats(mo = model, ob = data, scatter = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.