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

R语言 clst包 scaleDistPlot()函数中文帮助文档(中英文对照)

[复制链接]
发表于 2012-2-25 15:13:48 | 显示全部楼层 |阅读模式
scaleDistPlot(clst)
scaleDistPlot()所属R语言包:clst

                                         Annotated multidimensional scaling plots.
                                         多维尺度说明图。

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

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

Produces annotated representations of two-dimensional
生产注明申述二维


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



scaleDistPlot(dmat, groups, fill, X, O, indices = "no",
              include, display, labels,
              shuffleGlyphs = NA, key = "top",
              keyCols = 4, glyphs,
              xflip = FALSE, yflip = FALSE, ...)




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

参数:dmat
Square matrix of pairwise distances.
成对距离方阵。


参数:groups
Object coercible to a factor identifying group membership of objects corresponding to either edge of dmat.
对象强制转换的一个因素确定相应的要么dmat边缘的对象组成员。


参数:fill
vector (logical or indices) of points to fill
矢量(逻辑或指数),以填补点


参数:X
vector of points to mark with an X
用X标记点的向量


参数:O
vector of points to mark with a circle
点的向量,以纪念一个圆圈


参数:indices
label points with indices (all points if 'yes', or a subset indicated by a vector)
标签与指数点(点,如果是,或一个子集表示一个向量)


参数:include
boolean or numeric vector of elements to include in call to cmdscale
布尔或数字向量到包括呼叫cmdscale的元素


参数:display
boolean or numeric vector of elements to include in call to display
布尔或数字向量元素,包括在呼叫显示


参数:labels
list or data frame with parameters $i indicating indices and $text containing labels.
列表或$ I指示指数和美元的文本包含标签数据与参数的框架。


参数:shuffleGlyphs
modify permutation of shapes and colors given an integer to serve as a random seed.
修改一个整数作为随机种子的形状和颜色的排列。


参数:key
'right' (single column), 'top' (variable number of columns), or NULL for no key
“正确的”(单柱),顶(变量数列),或NULL没有关键


参数:keyCols
number of columns in key
在关键的列数


参数:glyphs
a data.frame with columns named col and pch corresponding to elements of unique(groups)
一个名为col和pchunique(groups)元素的列数据框


参数:xflip
if TRUE, flip orientation of x-axis
如果TRUE,翻转X轴方向


参数:yflip
if TRUE, flip orientation of y-axis
如果TRUE,翻转Y轴方向


参数:...
additional arguments are passed to xyplot
额外的参数传递xyplot


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

Returns a lattice grid object.
返回格之格对象。


作者(S)----------Author(s)----------



Noah Hoffman




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

cmdscale, xyplot
cmdscale,xyplot


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


data(iris)
dmat <- as.matrix(dist(iris[,1:4], method="euclidean"))
groups <- iris$Species

## visualize pairwise euclidean dstances among items in the Iris data set[#可视化项目在Iris数据集之间的成对欧几里德dstances]
fig <- scaleDistPlot(dmat, groups)
plot(fig)

## leave-one-out analysis of the classifier[#留出的分类分析]
loo <- lapply(seq_along(groups), function(i){
  do.call(classify, pull(dmat, groups, i))
})
matches <- lapply(loo, function(x) rev(x)[[1]]$matches)
result <- sapply(matches, paste, collapse='-')
confusion <- sapply(matches, length) > 1
no_match <- sapply(matches, length) < 1
plot(scaleDistPlot(dmat, groups, fill=confusion, O=confusion, X=no_match))

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-13 14:52 , Processed in 0.023789 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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