Skip to content

Commit

Permalink
feat!: set names of plots in fig-yi-deviation-cont-rating #42
Browse files Browse the repository at this point in the history
  • Loading branch information
egouldo committed Sep 2, 2024
1 parent 8c3cdbf commit e14400e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion supp_mat/SM3_ExplainingDeviation.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -879,7 +879,10 @@ fig_cap_yi_deviation_cont_rating <-
#| echo: false
yi_cont_plots <-
yi_cont_plot_data$plot_data %>%
map(.f = ~ plot_continuous_rating(.x))
map(.f = ~ plot_continuous_rating(.x)) %>%
purrr::set_names({yi_cont_plot_data %>%
unite(plot_name, dataset, estimate_type, sep = " ") %>%
pull(plot_name)})
patchwork::wrap_plots(yi_cont_plots,heights = 4, byrow = TRUE) +
patchwork::plot_annotation(tag_levels = 'A')
Expand Down

0 comments on commit e14400e

Please sign in to comment.