Appendix 3: R scripts for the complete workflow from Inferring forest fate from demographic data: from vital rates to population dynamic models NeedhamJessica MerowCory Chang-YangChia-Hao CaswellHal M. McMahonSean 2018 R scripts for organising data, fitting growth and survival models and constructing and analysing IPMs.