agg_det_scores: Aggregate deterministic scores

Description Usage Arguments Value Author(s) Examples

View source: R/fdbk_asdataframe.R

Description

Aggregate deterministic scores

Usage

1
2
agg_det_scores(SCORENAME = NULL, RMSE = NULL, ME = NULL, MSE = NULL,
  SD = NULL, MAE = NULL, LEN = NULL)

Arguments

SCORENAME

score name string

RMSE

rmse scores of data subsets

ME

me scores of data subsets

MSE

mse scores of data subsets

SD

sd scores of data subsets

MAE

mae scores of data subsets

LEN

length of forecast-observation pairs in subsets

Value

pooled score value

Author(s)

Felix <felix.fundel@dwd.de>

Examples

1
2
3
4
5
6
7
x    = runif(1000)fnames   = system("ls ~/examplesRfdbk/icon/synop/*",intern=T)
y    = rnorm(1000)
x1   = x[1:10];x2=x[11:300];x3=x[301:1000]
y1   = y[1:10];y2=y[11:300];y3=y[301:1000]
rmse = function(x,y){return(sqrt(mean((x-y)^2)))}
rmse(x,y)
agg_det_scores("RMSE",RMSE=c(rmse(x1,y1),rmse(x2,y2),rmse(x3,y3)),LEN=c(length(x1),length(x2),length(x3)))

rfxf/Rfdbk documentation built on May 27, 2019, 7:22 a.m.