optimalNbAnalog: Identifies the optimal number of analogues on the crps...

Description Usage Arguments Value Examples

View source: R/evalNbAnalogs.R

Description

Identifies the optimal number of analogues on the crps matrix resulting from atmoswing::crpsNbAnalogs.

Usage

1
optimalNbAnalog(crps.matrix)

Arguments

crps.matrix

Results of atmoswing::crpsNbAnalogs.

Value

Vector of the optimal number of analogues for each target date.

Examples

1
2
3
4
5
6
## Not run: 
data <- atmoswing::parseAllNcOutputs('optim/1/results', 1, 'validation')
res.crps <- atmoswing::crpsNbAnalogs(data)
res.nb <- atmoswing::optimalNbAnalog(res.crps$crps.smoothed)

## End(Not run)

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