dataStat(spider)
dataStat()所属R语言包:spider
Taxa statistics
分类群统计
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Returns the numbers of species, genera and individuals in the dataset.
返回数据集的物种,属个人的数量。
用法----------Usage----------
参数----------Arguments----------
参数:sppVector
Species vector (see sppVector).
种向量(参见sppVector“)。
参数:genVector
Genus vector that defines the genera of each individual, created in a similar manner to the species vector.
属向量定义了各个别属物种矢量的类似方法,在创建。
参数:thresh
Threshold for adequate individual/species number. Default of 5.
有足够的个体/种数的阈值。默认值为5。
Details
详细信息----------Details----------
The value NULL can be passed to gen if genera are not of interest in the dataset.
的价值NULL可以通过gen的,如果属不感兴趣的数据集。
值----------Value----------
A table giving the number of genera and species in the dataset; giving the minimum, maximum, mean and median number of individuals per species, and the number of species below the given threshold.
一个表,提供给属和种的数量在数据集中的每个物种的个体数量和物种的数量低于给定的阈值,最大值,最小值,平均值和中位数。
(作者)----------Author(s)----------
Rupert Collins <rupertcollins@gmail.com>
实例----------Examples----------
data(anoteropsis)
#Species vector[种向量]
anoSpp <- sapply(strsplit(dimnames(anoteropsis)[[1]], split="_"),
function(x) paste(x[1], x[2], sep="_"))
#Genus vector[属向量]
anoGen <- sapply(strsplit(anoSpp, split="_"), function(x) x[1])
dataStat(anoSpp, anoGen)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|