epiforecasts / scoringutils

Utilities for Scoring and Assessing Predictions
https://epiforecasts.io/scoringutils/
Other
48 stars 20 forks source link

Split up `plot_pit()` into a method for vectors and one for data.frames #752

Open nikosbosse opened 5 months ago

nikosbosse commented 5 months ago

Currently, the function does some internal stuff using if/else to provide functionality for both formats. It would be cleaner to split this up (this would also allow simpler input checks for the pit argument.