cmdsFit(htSeqTools)
cmdsFit()所属R语言包:htSeqTools
Classical Multi-Dimensional Scaling for a distance matrix
经典的多维尺度的距离矩阵
译者:生物统计家园网 机器人LoveR
描述----------Description----------
cmdsFit obtains coordinates in a k dimensional space which best approximate the given distances between objects.
cmdsFit获得一个k三维空间中的坐标最佳逼近给定的对象之间的距离。
用法----------Usage----------
cmdsFit(d, k=2, type='classic', add=FALSE, cor.method='pearson')
参数----------Arguments----------
参数:d
Distances between objects
之间的距离对象
参数:k
Dimensionality of the reconstructed space, typically set to 2 or 3.
重建的空间维度,通常设置为2或3。
参数:type
Set to "classic" to perform classical MDS (uses function cmdscale from package stats). Set to "isoMDS" to use Kruskal's non-metric MDS (uses function isoMDS from package MASS).
设置为"classic"执行经典的MDS(使用函数cmdscale包stats)。设置为"isoMDS"使用克鲁斯卡的非度量MDS(使用函数isoMDS包MASS)。
参数:add
Logical indicating if an additive constant c* should be computed, and added to the non-diagonal dissimilarities such that all n-1 eigenvalues are non-negative in cmdscale
逻辑表明添加剂常数c *应计算,添加非对角线的异同等,所有的n-1的特征值非负cmdscale
参数:cor.method
A character string indicating which correlation coefficient (or covariance) is to be computed. One of "pearson" (default), "kendall", or "spearman", can be abbreviated. </table>
要计算一个字符串,指示哪些相关系数(或协方差)。 “皮尔森”(默认),“肯德尔”,或“矛”,都可以缩写。 </ TABLE>
值----------Value----------
The function returns a cmdsFit object. See help("cmdsFit-class") for details.
该函数返回一个cmdsFit对象。有关详细信息,请参阅帮助(的“cmdsFit级”)。
方法----------Methods----------
signature(d = "matrix") Use Classical Multi-Dimensional Scaling to represent points
signature(d = "matrix")使用古典的多维尺度来表示点
举例----------Examples----------
### Not run[#无法运行]
#d <- matrix(c(0,5,10,5,0,15,10,15,0),byrow=TRUE,ncol=3)[D < - 矩阵(C“(0,5,10,5,0,15,10,15,0),byrow = TRUE,NCOL = 3)]
#cmdsFit(d,add=TRUE)[cmdsFit(D,附加= TRUE时)]
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|