Description Usage Arguments Value Examples
View source: R/performanceScore.R
Get the contribution to the CRPS for different predictand classes.
1 | crpsContribClasses(crps.vect, obs.vect)
|
crps.vect |
A vector of the CRPS value for every target day. |
obs.vect |
A vector of the observed value (same length as crps.vect). |
Contribution to the CRPS (
1 2 3 4 5 6 7 8 | ## Not run:
data <- atmoswing::parseAllNcOutputs('optim/1/results', 1, 'validation')
crps.vect <- atmoswing::crpsVector(data, 10)
res <- atmoswing::crpsContribClasses(crps.vect, data$target.values.raw)
barplot(res$contrib, names.arg=res$labels, las=2, cex.names=0.7)
title('Contribution (%) to the CRPS (not cumulative)')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.