Skip to content

Commit

Permalink
Update wweval/R/ms_fig4.R
Browse files Browse the repository at this point in the history
Co-authored-by: Dylan H. Morris <[email protected]>
  • Loading branch information
kaitejohnson and dylanhmorris authored Jul 20, 2024
1 parent 18f7f25 commit f82c8b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wweval/R/ms_fig4.R
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ make_plot_coverage_range <- function(scores_quantiles, ranges) {
)

coverage_summarized <- scores_by_horizon |>
dplyr::filter(quantile %in% c(ranges / 100)) |>
dplyr::filter(quantile %in% c(!!ranges / 100)) |>
dplyr::group_by(horizon, model, quantile) |>
dplyr::summarise(pct_coverage = 100 * mean(coverage))

Expand Down

0 comments on commit f82c8b5

Please sign in to comment.