crpsVector: Process the CRPS for a given number of analogues.

Description Usage Arguments Value Examples

View source: R/performanceScore.R

Description

Process the CRPS for a given number of analogues for every day of the target period.

Usage

1
crpsVector(A, nb.analogs = 0, a = 0.44, b = 0.12)

Arguments

A

Results of AtmoSwing as parsed by atmoswing::parseAllNcOutputs.

nb.analogs

Number of analogs to consider (all of them if ignored or 0)

a, b

Constants that have a law-dependent optimum from which the samples are derived.

Value

Vector of the CRPS value for every day of the target period.

Examples

1
2
3
4
5
## Not run: 
data <- atmoswing::parseAllNcOutputs('optim/1/results', 1, 'validation')
res <- atmoswing::crpsVector(data, 30)

## End(Not run)

atmoswing/R-toolbox documentation built on Nov. 8, 2019, 3:49 p.m.