Skip to content

Commit a5cd7a8

Browse files
committed
filing plot output in one directory
1 parent 87cbc45 commit a5cd7a8

File tree

5 files changed

+4
-4
lines changed

5 files changed

+4
-4
lines changed

R/plot-model-flow.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,6 @@ create_model_flow <- function() {
8787
flow_chart <- flow |>
8888
fc_merge() |>
8989
fc_draw() |>
90-
fc_export(filename = "flowchart.png", path = here("plots"),
90+
fc_export(filename = "flowchart.png", path = here("output", "plots"),
9191
width = 3000, height = 3000, res = 500)
9292
}

report/supplement/Supplement.Rmd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Data for this work were downloaded on 30th May 2023. These data are available in
5757
```{r model-flow, fig.cap="Eligibility criteria for models contributing case (left) and death (right) forecasts to the European COVID-19 Forecast Hub, March 2021 - March 2023"}
5858
# source(here("R", "plot-model-flow.R"))
5959
# flow_chart <- create_model_flow()
60-
knitr::include_graphics(here("plots", "flowchart.png"))
60+
knitr::include_graphics(here("output", "plots", "flowchart.png"))
6161
```
6262

6363
## Model characteristics
@@ -133,14 +133,14 @@ results <- readRDS(here("output", "results.rds"))
133133

134134
```{r gamm-diagnostics-cases}
135135
# QQ plot, residuals
136-
knitr::include_graphics(here("plots", "check_Cases.pdf"))
136+
knitr::include_graphics(here("output", "plots", "check_Cases.pdf"))
137137
```
138138

139139
#### Deaths
140140

141141
```{r gamm-diagnostics-deaths}
142142
# QQ plot, residuals
143-
knitr::include_graphics(here("plots", "check_Deaths.pdf"))
143+
knitr::include_graphics(here("output", "plots", "check_Deaths.pdf"))
144144
```
145145

146146
## Model results

0 commit comments

Comments
 (0)