From 9ba6f3f759398a186654052f32be5c8b6a12aa93 Mon Sep 17 00:00:00 2001 From: nikosbosse Date: Sun, 31 May 2020 12:46:43 +0200 Subject: [PATCH] fix change in scoringutils update --- R/score.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/score.R b/R/score.R index 4616685..5fb4a76 100644 --- a/R/score.R +++ b/R/score.R @@ -96,7 +96,7 @@ score_forecast <- function(fit_samples, observations, scores = "all") { NA }, calibration = if(any(c("all", "calibration") %in% scores)) { - suppressWarnings(scoringutils::pit(obs, samples_matrix)$calibration) + suppressWarnings(scoringutils::pit(obs, samples_matrix)$p_value) }else{ NA },