list2dist(spaa)
list2dist()所属R语言包:spaa
Convert pairwise list to distance matrix
转换成对名单的距离矩阵
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Convert pairwise list to distance matrix
转换成对名单的距离矩阵
用法----------Usage----------
list2dist(dat)
参数----------Arguments----------
参数:dat
dataframe with three columns
数据框有三列
Details
详细信息----------Details----------
Dataframe with first column as the column names in the distance matrix, second column as the rownames in the distance matrix, third column the values.
与第一列的列名在距离矩阵的距离矩阵中的行名,第二列,第三列的值的数据框。
值----------Value----------
distance matrix
距离矩阵
(作者)----------Author(s)----------
Jinlong Zhang <a href="mailto:jinlongzhang01@gmail.com">jinlongzhang01@gmail.com</a>
参考文献----------References----------
Tuomisto, H. (2003). "Dispersal, Environment, and Floristic Variation of Western Amazonian Forests." Science 299(5604): 241-244.
参见----------See Also----------
dist2list
dist2list
实例----------Examples----------
##list2dist() example[:#list2dist()的例子]
x <- matrix(rnorm(100), nrow=5)
sampledata <- dist(x)
ddd <- dist2list(sampledata)
list2dist(ddd)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|