Description Usage Arguments Value Author(s) Examples
View source: R/fdbk_asdataframe.R
Aggregate deterministic scores
1 2 |
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 |
pooled score value
Felix <felix.fundel@dwd.de>
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)))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.