Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass plot_predictions(range) to sample_to_quantile(quantile) #151

Closed
Bisaloo opened this issue Nov 23, 2021 · 2 comments
Closed

Pass plot_predictions(range) to sample_to_quantile(quantile) #151

Bisaloo opened this issue Nov 23, 2021 · 2 comments

Comments

@Bisaloo
Copy link
Member

Bisaloo commented Nov 23, 2021

example1 <- scoringutils::continuous_example_data

scoringutils::plot_predictions(example1, x = "value_date",
                               filter_truth = list('value_date <= "2020-06-22"',
                                                   'value_date > "2020-05-01"'),
                               filter_forecasts = list("model == 'SIRCOVID'",
                                                       'creation_date == "2020-06-22"'),
                               facet_formula = geography ~ value_desc,
                               range = c(0, 50, 90, 95))

Created on 2021-11-23 by the reprex package (v2.0.1.9000)

@Bisaloo
Copy link
Member Author

Bisaloo commented Nov 23, 2021

Once this is fixed, it will also be necessary to increase to number of colours in the blue gradient.

@nikosbosse
Copy link
Contributor

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants