找回密码
 注册
查看: 2661|回复: 0

R语言:dissimilarity.object()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-2-16 21:00:04 | 显示全部楼层 |阅读模式
dissimilarity.object(cluster)
dissimilarity.object()所属R语言包:cluster

                                        Dissimilarity Matrix Object
                                         相异矩阵对象

                                         译者:生物统计家园网 机器人LoveR

描述----------Description----------

Objects of class "dissimilarity" representing the dissimilarity matrix of a dataset.
类对象"dissimilarity"代表数据集的相异矩阵。


值----------Value----------

The dissimilarity matrix is symmetric, and hence its lower triangle (column wise) is represented as a vector to save storage space. If the object, is called do, and n the number of observations, i.e., n <- attr(do, "Size"), then for i < j <= n, the dissimilarity between (row) i and j is do[n*(i-1) - i*(i-1)/2 + j-i]. The length of the vector is n*(n-1)/2, i.e., of order n^2.
相异矩阵是对称的,因此其下三角(列明智)代表作为向量,以节省存储空间。如果对象,被称为do和n的若干意见,即n <- attr(do, "Size"),i < j <= n,(行)i和j之间的不同是 do[n*(i-1) - i*(i-1)/2 + j-i]。向量的长度是n*(n-1)/2,即为了n^2。

"dissimilarity" objects also inherit from class dist and can use dist methods, in particular, as.matrix, such that d(i,j) from above is just as.matrix(do)[i,j].
"dissimilarity"对象也从类dist“可以使用dist方法,尤其是as.matrix,如继承,d(i,j)从上面as.matrix(do)[i,j] 。

The object has the following attributes:
对象具有以下属性:


参数:Size
the number of observations in the dataset.
在观测数据集。


参数:Metric
the metric used for calculating the dissimilarities.  Possible values are &quot;euclidean&quot;, &quot;manhattan&quot;, &quot;mixed&quot; (if variables of different types were present in the dataset), and &quot;unspecified&quot;.
度量用于计算异同。可能的值是“欧氏”,“曼哈顿”,“混合”(如果DataSet中存在不同类型的变量),“未指定”。


参数:Labels
optionally, contains the labels, if any, of the observations of the dataset.
可选,包含标签数据集的意见,如果有的话。


参数:NA.message
optionally, if a dissimilarity could not be computed, because of too many missing values for some observations of the dataset.
可选,如果相异可能不被计算,因为太多缺失值数据集的一些意见。


参数:Types
when a mixed metric was used, the types for each variable as one-letter codes (as in the book, e.g. p.54):     
混合度量时,每一个字母代码(如在这本书中,egp54)的变量的类型:

AAsymmetric binary  
AAsymmetric二进制

SSymmetric  binary  
SSymmetric二进制

NNominal (factor)  
NNominal(因子)

OOrdinal (ordered factor)  
OOrdinal(有序因子)

IInterval scaled (numeric)  
IInterval规模(数字)

TraTio to be log transformed (positive numeric)    .
TraTio将日志转换(正数)。


发电----------GENERATION----------

daisy returns this class of objects. Also the functions pam, clara, fanny, agnes, and diana return a dissimilarity object, as one component of their return objects.
daisy返回这个类的对象。功能pam,clara,fanny,agnes,diana回dissimilarity对象作为返回对象的一个组成部分。


方法----------METHODS----------

The "dissimilarity" class has methods for the following generic functions: print, summary.
"dissimilarity"类有以下的通用功能的方法:print,summary。


参见----------See Also----------

daisy, dist, pam, clara, fanny, agnes, diana.
daisy,dist,pam,clara,fanny,agnes,diana。

转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。


注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2025-2-3 04:58 , Processed in 0.023875 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表