revision 1, almost done
This commit is contained in:
+7
-2
@@ -38,6 +38,9 @@ date: ""
|
||||
#| label: setup
|
||||
#| include: false
|
||||
source("deps.R")
|
||||
|
||||
debug_mode <- FALSE
|
||||
output_format <- "docx"
|
||||
```
|
||||
|
||||
\newpage
|
||||
@@ -288,9 +291,11 @@ for (i in seq_along(plots)) {
|
||||
}
|
||||
|
||||
# combine plots using patchwork
|
||||
combined_plot <- wrap_plots(plotlist, ncol = 2) + # remove legend
|
||||
plot_layout(guides = "collect") & theme(legend.position = "none")
|
||||
combined_plot <- wrap_plots(plotlist, ncol = 2) #+ # remove legend
|
||||
# plot_layout(guides = "collect") & theme(legend.position = "none")
|
||||
|
||||
print(combined_plot)
|
||||
|
||||
if (isTRUE(debug_mode)) {
|
||||
debug_info[[knitr::opts_current$get("label")]] <-
|
||||
if (knitr::is_html_output()) "HTML" else "LaTeX"
|
||||
|
||||
Reference in New Issue
Block a user