Skip to content

Commit

Permalink
Merge pull request #130 from trias-project/add-zip-files
Browse files Browse the repository at this point in the history
Add zip files
  • Loading branch information
damianooldoni authored Apr 16, 2024
2 parents 9e9668d + c0393fa commit 63a1908
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/07_occurrence_indicators_modelling.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -673,3 +673,19 @@ file = here::here(
)
)
```

## Plots

We create a zip file with all generated plots:

```{r create-zip-file}
folder_path <- here::here("data", "output", "GAM_outputs")
zip(zipfile = here::here("data", "output", "GAM_outputs", "plots.zip"),
files = list.files(
folder_path,
pattern = "png$",
full.names = FALSE,
recursive = FALSE
)
```

0 comments on commit 63a1908

Please sign in to comment.