Code and data for: Competition-Induced Trait Variability Obscures Trait–Growth Relationships of Tree Seedlings
收藏Figshare2025-09-14 更新2026-04-28 收录
下载链接:
https://figshare.com/articles/dataset/Code_and_data_for_Competition-Induced_Trait_Variability_Obscures_Trait_Growth_Relationships_of_Tree_Seedlings/30121870
下载链接
链接失效反馈官方服务:
资源简介:
This dataset contains the analysis code and data accompanying the manuscript “Competition-Induced Trait Variability Obscures Trait–Growth Relationships of Tree Seedlings”. The workflow is implemented in a single R Markdown file; two small .R scripts provide core functions (model fitting and plotting). An HTML report is included for browsing results without running R.Data:· raw_trait_data.csv — Main dataset containing measured environmental variables, competition treatments, species identity, growth rates, and PCA-derived trait axes. Columns include environmental factors (Light, Moisture, AP), treatments (Compete), species (sp), census year (comp_year), growth rates (RGR, raw_RGR), and PCA scores (Above_PC1/2, Below_PC1/2).· AboveBelow_pca_results.RData — R object storing PCA loadings and eigenvalues for above-ground and below-ground traits. Used to visualize trait loadings and variance explained in PCA biplots (Figures 2a–b).Code:· Fit trait–RGR models.R — core modelling functions (trait–RGR models, null models, TPD metrics).· Core plotting functions.R — core plotting functions used by the Rmd.· Yang_code.Rmd — Annotated R Markdown file containing all analysis code. This file reproduces both the main and supplementary analyses, and generates three figures reported in the manuscript.· Yang_code.html — rendered report from the Rmd (view-only; open in a browser).session_info.txt — R session information (R version, OS, and package versions).
创建时间:
2025-09-14



