Code
weighted_interval_score(1:10, 10)
Condition
Error in `UseMethod()`:
! no applicable method for 'weighted_interval_score' applied to an object of class "c('integer', 'numeric')"
Code
weighted_interval_score(quantile_pred(rbind(1:4, 8:11), 1:4 / 5), 1:3)
Condition
Error in `weighted_interval_score.quantile_pred()`:
! Assertion on 'actual' failed: Must have length 2, but has length 3.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.