view loop_col_scale.r @ 0:7e6cc3da1189 draft

planemo upload for repository https://github.com/Marie59/champ_blocs commit 8b6fcddd239979c11977472de6cbb349690758c8
author ecology
date Fri, 02 Dec 2022 16:13:18 +0000
parents
children
line wrap: on
line source

library("rmarkdown")

df <- indic
df_full <- indic_full
dir.create("results")
slices <- unique(df$Site)[!is.na(unique(df$Site))]

for (v in slices) {
    rmarkdown::render(report,
         output_file = paste0(v, ".docx"),
         output_dir = file.path("results"),
         params = list(Site = v)
    )
  }