This repository list the files used in the analysis of ground vegetation and adult canopy direct and indirect effect on tree seedlings survival and growth along climatic gradient for five species in the French Alps (Defossez et al. 2015). Variation of micro-environmental variables with ground vegetation and canopy cover is analysed. The R scripts use JAGS and R2jags and also require ggplot2 for the figures. The R script are run with the package remake that facilitate reproducible workflow.
Data are available on Dryad package
The R code will download the data from dryad, run the jags analysis and create the output tables and figures.
Sys.setlocale('LC_ALL','C')
remake::make('all')
-
R : R functions used in the analysis
-
download : created folder with downloaded data from dryad.
-
output : created folder of output of R
-
figures : created folder for pdf figures
-
jags.model : created folder with jags models