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

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

[复制链接]
发表于 2012-2-16 17:29:15 | 显示全部楼层 |阅读模式
plot.diana(cluster)
plot.diana()所属R语言包:cluster

                                        Plots of a Divisive Hierarchical Clustering
                                         图的分裂层次聚类

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

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

Creates plots for visualizing a diana object.
创建diana对象可视化的图谋。


用法----------Usage----------


## S3 method for class 'diana'
plot(x, ask = FALSE, which.plots = NULL, main = NULL,
           sub = paste("Divisive Coefficient = ", round(x$dc, digits = 2)),
           adj = 0, nmax.lab = 35, max.strlen = 5, xax.pretty = TRUE, ...)



参数----------Arguments----------

参数:x
an object of class "diana", typically created by diana(.).
类"diana"的对象,通常创建diana(.)。


参数:ask
logical; if true and which.plots is NULL, plot.diana operates in interactive mode, via menu.
逻辑,如果真正和which.plots是NULL,plot.diana在交互模式下运行,通过menu。


参数:which.plots
integer vector or NULL (default), the latter producing both plots.  Otherwise, which.plots must contain integers of 1 for a banner plot or 2 for a dendrogram or “clustering tree”.
整数向量或NULL(默认),后者生产两个图。否则,which.plots必须包含整数1为旗帜图或2一个树状或“聚类树”。


参数:main, sub
main and sub title for the plot, each with a convenient default.  See documentation for these arguments in plot.default.
主,分标题的图,每一个方便的默认。见plot.default这些参数的文档。


参数:adj
for label adjustment in bannerplot().
标签bannerplot()调整。


参数:nmax.lab
integer indicating the number of labels which is considered too large for single-name labelling the banner plot.
整数,表示这被认为是单一名称标记的旗帜积过大的标签的数量。


参数:max.strlen
positive integer giving the length to which strings are truncated in banner plot labeling.
正整数旗帜图标签截断字符串的长度。


参数:xax.pretty
logical or integer indicating if pretty(*, n = xax.pretty) should be used for the x axis. xax.pretty = FALSE is for back compatibility.
逻辑或整数,指示pretty(*, n = xax.pretty)如果应为x轴的使用。 xax.pretty = FALSE是为后面的兼容性。


参数:...
graphical parameters (see par) may also be supplied and are passed to bannerplot() or pltree(), respectively.
(见par)也可提供,并传递到bannerplot()或pltree(),分别图形参数。


Details

详情----------Details----------

When ask = TRUE, rather than producing each plot sequentially, plot.diana displays a menu listing all the plots that can be produced. If the menu is not desired but a pause between plots is still wanted one must set par(ask= TRUE) before invoking the plot command.
当ask = TRUE,而不是按顺序产生每个小区,plot.diana显示一个菜单,列出了所有可以生产的图。如果菜单是不理想,但暂停图之间仍然想必须设置par(ask= TRUE)调用plot命令之前。

The banner displays the hierarchy of clusters, and is equivalent to a tree. See Rousseeuw (1986) or chapter 6 of Kaufman and Rousseeuw (1990). The banner plots the diameter of each cluster being splitted. The observations are listed in the order found by the diana algorithm, and the numbers in the height vector are represented as bars between the observations.
的横幅,显示集群的层次,相当于一棵树。看到Rousseeuw(1986)或章考夫曼和Rousseeuw的(1990)6。旗帜小区每个簇的直径被分拆。意见中列出在diana算法,并在height向量的数字代表之间的意见条形发现的顺序。

The leaves of the clustering tree are the original observations. A branch splits up at the diameter of the cluster being splitted.
聚类树的叶子是原来的意见。一个分支分裂集群被分拆的直径。


副作用----------Side Effects----------

An appropriate plot is produced on the current graphics device. This can be one or both of the following choices: <br> Banner <br> Clustering tree
当前图形设备上产生一个适当的图。这可以是一个或两个以下的选择:参考图参考聚类树


注意----------Note----------

In the banner plot, observation labels are only printed when the number of observations is limited less than nmax.lab (35, by default), for readability. Moreover, observation labels are truncated to maximally max.strlen (5) characters.
横幅中的图,观察标签只印时是有限的若干意见(默认35)比nmax.lab少,可读性。此外,观察标签被截断,以最大限度max.strlen(5)字符。


参考文献----------References----------

<h3>See Also</h3>   <code>diana</code>, <code>diana.object</code>, <code>twins.object</code>, <code>par</code>.

举例----------Examples----------


example(diana)# -&gt; dv &lt;- diana(....)[ - > DV  - 戴安娜(......)]

plot(dv, which = 1, nmax.lab = 100)

## wider labels :[#更广泛的标签:]
op <- par(mar = par("mar") + c(0, 2, 0,0))
plot(dv, which = 1, nmax.lab = 100, max.strlen = 12)
par(op)

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-1-23 03:45 , Processed in 0.022575 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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