Code and data: Temporal variability declines with increasing trophic levels and spatial scales in freshwater ecosystems
收藏资源简介:
Code and data to reproduce the results in Siqueira et al. (submitted) published as a Preprint (https://ecoevorxiv.org/mpf5x) The full set of results, including those made available as supplementary material, can be reproduced by running five scripts in the <strong>R_codes</strong> folder following this sequence: 01_Dataprep_stability_metrics.R 02_SEM_analyses.R 03_Stab_figs.R 04_Stab_supp_m.R 05_Sensit_analysis.R and using the data available in the <strong>Input_data</strong> folder. The original raw data made available include the abundance (individual counts, biomass, coverage area) of a given taxon, at a given site, in a given year. See details here https://ecoevorxiv.org/mpf5x However, this is a collaborative effort and not all authors are allowed to share their raw data. One data set (LEPAS), out of 30, was not made available due to data sharing policies of The Ohio Division of Wildlife (ODOW). So, in code "01_Dataprep_stability_metrics.R" all data made available are imported, except the LEPAS data set. For this specific data set, code "01_Dataprep_stability_metrics.R" imports variability and synchrony components estimated using the methods described in Wang et al. (2019 Ecography; doi/10.1111/ecog.04290), diversity metrics (alpha and gamma diversity), and some variables describing the data set. A protocol for requesting access to the LEPAS data sets can be found here:<br> https://ael.osu.edu/researchprojects/lake-erie-plankton-abundance-study-lepas Dataset owner: Ohio Department of Natural Resources – Division of Wildlife, managed by Jim Hood, Dept. of Evolution, Ecology, and Organismal Biology, The Ohio State University. Email: hood.211@osu.edu <strong>Reproducibility</strong> Anyone who wants to reproduce the results described in the preprint can just download the compressed file (that includes code and data), open the R project file and run codes from 01 to 05. Note, however, that because piecewiseSEM::multgroup() has a bug in its most updated version (2023), in code 02_SEM_analyses, we used: # R version 4.0.4 (2021-02-15) -- "Lost Library Book"<br> # piecewiseSEM version 2.1.0.<br> # nlme version 3.1<br> # tidyverse version 1.3.2



