Mercurial > repos > ecology > cb_ivr
comparison loop_col_scale.r @ 0:8c6142630659 draft
planemo upload for repository https://github.com/Marie59/champ_blocs commit 8b6fcddd239979c11977472de6cbb349690758c8
author | ecology |
---|---|
date | Fri, 02 Dec 2022 16:13:07 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:8c6142630659 |
---|---|
1 library("rmarkdown") | |
2 | |
3 df <- indic | |
4 df_full <- indic_full | |
5 dir.create("results") | |
6 slices <- unique(df$Site)[!is.na(unique(df$Site))] | |
7 | |
8 for (v in slices) { | |
9 rmarkdown::render(report, | |
10 output_file = paste0(v, ".docx"), | |
11 output_dir = file.path("results"), | |
12 params = list(Site = v) | |
13 ) | |
14 } |