sppDistMatrix(spider)
sppDistMatrix()所属R语言包:spider
Mean intra- and inter-specific distance matrix
平均内和种间的距离矩阵
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Creates a matrix giving the mean distances within and between species.
创建一个矩阵,给内和物种间的平均距离。
用法----------Usage----------
sppDistMatrix(distobj, sppVector)
参数----------Arguments----------
参数:distobj
A distance matrix.
距离矩阵。
参数:sppVector
The species vector (see sppVector).
种矢量(见sppVector“)。
值----------Value----------
A square matrix with dimensions length(sppVector). It contains the mean intra specific distances down the diagonal, and the mean pairwise distance between the species in the triangles. The two triangles are identical.
一个方阵,尺寸length(sppVector)。它包含平均帧内特定距离对角线向下,和成对的平均之间的距离中的三角形的物种。两个三角形是相同的。
(作者)----------Author(s)----------
Samuel Brown <s_d_j_brown@hotmail.com>
实例----------Examples----------
data(dolomedes)
doloDist <- dist.dna(dolomedes)
doloSpp <- substr(dimnames(dolomedes)[[1]], 1, 5)
sppDistMatrix(doloDist, doloSpp)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|