five

Supplement 1. Three input files and an r script.

收藏
Mendeley Data2024-06-25 更新2024-06-28 收录
下载链接:
https://wiley.figshare.com/articles/dataset/Supplement_1_Three_input_files_and_an_r_script_/3513017
下载链接
链接失效反馈
官方服务:
资源简介:
File List sang_sp.txt sang_en.txt sang_tr.txt RLQ_script_Danny.r Description Three input files are provided that contain the species-by-sites data matrix (sang_sp.txt), sites-by-environment data matrix (sang_en.txt) and species-by-traits data matrix (sang_tr.txt). Also included is an r script (RLQ_script_Danny). The script is in Tinn-R so this program will need to be downloaded first. It is freely available at http://www.sciviews.org/Tinn-R/index.html (checked 2 Nov 2006). Copy and paste the script into R for results. For the main results presented in the paper copy the script up to and including ‘randtest.rlq(rlqout)’. The final two lines present box plots to show the variation in trait categories along the RLQ axes. ‘sco.boxplot(rlqout$mQ[,1],Qqual)’ gives a boxplots for the first axis, ‘sco.boxplot(rlqout$mQ[,2],Qqual)’ for the second axis etc.

文件清单:sang_sp.txt、sang_en.txt、sang_tr.txt、RLQ_script_Danny.r 数据集说明:本次提供三份输入文件,分别为物种-样地数据矩阵(species-by-sites data matrix)文件sang_sp.txt、样地-环境数据矩阵(sites-by-environment data matrix)文件sang_en.txt,以及物种-性状数据矩阵(species-by-traits data matrix)文件sang_tr.txt;同时附带一份R脚本RLQ_script_Danny.r。该脚本基于Tinn-R编辑器编写,因此需先下载该程序,其可通过http://www.sciviews.org/Tinn-R/index.html免费获取(校验日期:2006年11月2日)。将脚本复制粘贴至R语言环境中即可运行获取结果。若需复现论文中展示的核心结果,需复制脚本至包含‘randtest.rlq(rlqout)’的位置并执行该语句。脚本最后两行用于生成箱线图,以展示性状类别沿RLQ轴的分布差异:其中‘sco.boxplot(rlqout$mQ[,1],Qqual)’可生成第一轴的箱线图,‘sco.boxplot(rlqout$mQ[,2],Qqual)’对应第二轴的箱线图,以此类推。
创建时间:
2023-06-28
5,000+
优质数据集
54 个
任务类型
进入经典数据集
二维码
社区交流群

面向社区/商业的数据集话题

二维码
科研交流群

面向高校/科研机构的开源数据集话题

数据驱动未来

携手共赢发展

商业合作