sub.sp.matrix(spaa)
sub.sp.matrix()所属R语言包:spaa
Subset species matrix according to relative frequency
根据相对频率的子集物种矩阵
译者:生物统计家园网 机器人LoveR
描述----------Description----------
用法----------Usage----------
sub.sp.matrix(spmatrix, freq = 0.5, common = NULL)
参数----------Arguments----------
参数:spmatrix
The spmatrix is a standard species matrix with rows for plots and column for species.
spmatrix是一个的标准物种的矩阵为图的行和列的物种。
参数:freq
The value of relative frequency to be speciefied, species with higher relative frequency will be reserved in the output matrix.
的值的相对频率要speciefied,物种与相对较高的频率将被保留在输出矩阵。
参数:common
The number of most common (according to relative frequency) species to be specified.
最常见的数目(根据相对频率)以指定的物种。
Details
详细信息----------Details----------
sub.sp.matrix will select the species whose relative frequency above 0.5 (default), or select certain number of species according to relative frequency.
sub.sp.matrix将选择的品种,其相对频率在0.5以上(默认),或选择一定数量的物种,根据相对频率。
值----------Value----------
A subset matrix with certain number of top relative frequency.
一个子矩阵一定数量的顶部相对频率。
(作者)----------Author(s)----------
Jinlong Zhang <a href="mailto:jinlongzhang01@gmail.com">jinlongzhang01@gmail.com</a>
参考文献----------References----------
None
参见----------See Also----------
See Also subset
请参见subset
实例----------Examples----------
library(vegan)
data(BCI)
## Select the species whose relative frequency [选择的品种,其相对频率]
## more than 0.5, from BCI data [#超过0.5,从数据的BCI]
sub <- sub.sp.matrix(BCI, freq = 0.5)
## Select the top 30 species according to relative frequency [#根据相对频率选择30种]
sub <- sub.sp.matrix(BCI, common = 30)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|