Data and code for 'Sustained productivity and the persistence of coral reef fisheries'
收藏资源简介:
Data and code necessary for reproducing analyses, results and figures from Morais et al. 'Sustained productivity and the persistence of coral reef fisheries', Nature Sustainability. Compressed file includes: Data: folder with data files used for the analyses; Mod_Out: folder with critical model outputs to steer the analyses without having to undergo lengthy model selection; Outputs: empty folder where figures and tables will be generated; Outputs_authors: as the name suggests, includes the Outputs as last generated by the authors on 27 March 2023; Scripts: individual R scripts for the main analyses, results, figures; Sensitivity: individual R-Markdown documents and data required to run Supplementary Analyses 1 and 2 of the manuscript; Morais_et_al_RUN.R: master script for reproducing the analyses. Running this file automatically loads all data files and executes code that creates and saves figures and tables.
本数据集包含复现Morais等人发表于《自然-可持续性》(Nature Sustainability)的论文《持续生产力与珊瑚礁渔业的存续性》(Sustained productivity and the persistence of coral reef fisheries)中的分析、结果与图表所需的全部数据与代码。 该压缩包内含以下内容: - Data:用于开展分析的数据文件文件夹; - Mod_Out:存储关键模型输出结果的文件夹,可直接用于引导分析流程,无需再执行耗时的模型选择步骤; - Outputs:空文件夹,用于存储生成的图表与表格; - Outputs_authors:顾名思义,包含作者团队于2023年3月27日最终生成的全部输出结果; - Scripts:用于完成主分析、生成结果与图表的独立R脚本文件; - Sensitivity:用于运行论文补充分析1与补充分析2的独立R Markdown文档及配套所需数据; - Morais_et_al_RUN.R:用于复现全部分析的主控脚本。运行该文件将自动加载所有数据文件,并执行代码以生成并保存所有图表与表格。



