Appendix 3: R scripts for the complete workflow from Inferring forest fate from demographic data: from vital rates to population dynamic models

R scripts for organising data, fitting growth and survival models and constructing and analysing IPMs.