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

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

[复制链接]
发表于 2012-10-1 16:07:05 | 显示全部楼层 |阅读模式
parcoordMiss(VIM)
parcoordMiss()所属R语言包:VIM

                                        Parallel coordinate plot with information about missing/imputed values
                                         平行坐标图信息丢失/估算值的

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

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

Parallel coordinate plot with adjustments for missing/imputed values. Missing values  in the plotted variables may be represented by a point above the  corresponding coordinate axis to prevent disconnected lines. In addition,  observations with missing/imputed values in selected variables may be highlighted.
平行坐标图与丢失/估算值的调整。缺失值绘制的变量可以表示由上面的点对应的坐标轴,以防止断开的线。此外,观测与缺少/估算值在选定的变量可能会被高亮显示。


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


parcoordMiss(x, delimiter = NULL, highlight = NULL,
    selection = c("any","all"), plotvars = NULL, plotNA = TRUE,
    col = c("skyblue","red","skyblue4","red4","orange","orange4"),
    alpha = NULL, lty = par("lty"), xlim = NULL, ylim = NULL,
    main = NULL, sub = NULL, xlab = NULL, ylab = NULL, labels = TRUE,
    xpd = NULL, interactive = TRUE, ...)

TKRparcoordMiss(x, delimiter = NULL, highlight = NULL,
    selection = c("any","all"), plotvars = NULL, plotNA = TRUE,
    col = c("skyblue","red","skyblue4","red4","orange","orange4"),
    alpha = NULL, ..., hscale = NULL, vscale = 1, TKRpar = list())



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

参数:x
a matrix or data.frame.
矩阵或data.frame。


参数:delimiter
a character-vector to distinguish between variables and imputation-indices for imputed variables (therefore, x needs to have colnames). If given, it is used to determine the corresponding imputation-index for any imputed variable (a logical-vector indicating which values of the variable have been imputed). If such imputation-indices are found, they are used for highlighting and the colors are adjusted  according to the given colors for imputed variables (see col).
一个特征向量来区分变量和插补指数估算的变量(因此,x需要有colnames)。如果给出,它被用来确定相应的插补索引的任何估算的变量(一个逻辑矢量指示变量的值已被插补)。如果这样的归集指数被发现,它们用于高亮和颜色的调整,根据给定的颜色估算变量(见col“)。


参数:highlight
a vector giving the variables to be used for highlighting.   If NULL (the default), all variables are used for highlighting.
一个向量给要用于高亮显示的变量。如果NULL(默认值),所有的变量都用于突出显示。


参数:selection
the selection method for highlighting missing/imputed values in  multiple highlight variables.  Possible values are "any"  (highlighting of missing/imputed values in any of the highlight variables)  and "all" (highlighting of missing/imputed values in all of the  highlight variables).
突出丢失/估算值多个亮点变量的选择方法。可能的值是"any"(突出显示缺少/在任何的亮点变量的估算值)和"all"(突出的丢失/估算值的所有的亮点变量)。


参数:plotvars
a vector giving the variables to be plotted.  If NULL  (the default), all variables are plotted.
一个向量发出要绘制的变量。如果NULL(默认值),所有变量都被绘制。


参数:col
if plotNA is TRUE, a vector of length six giving  the colors to be used for observations with different combinations of  observed and missing/imputed values in the plot variables and highlight variables  (vectors of length one or two are recycled).  Otherwise, a vector of length  two giving the colors for non-highlighted and highlighted observations (if  a single color is supplied, it is used for both).
plotNA如果是TRUE,一个向量的长度为6给一个或两个用于观测的颜色的不同组合的观察和失踪/估算值中的图的变量和亮点变量(向量的长度被回收)。否则,一个向量的长度为2,给非高亮显示,并突出显示的观测值(如果被供给一个单一的颜色,它是用于两个)的颜色。


参数:plotNA
a logical indicating whether missing values in the plot  variables should be represented by a point above the corresponding  coordinate axis to prevent disconnected lines.
相应的坐标轴,以防止断开的线的一个点以上的逻辑失踪的图变量的值指示是否应派代表参加。


参数:alpha
a numeric value between 0 and 1 giving the level of transparency  of the colors, or NULL.  This can be used to prevent overplotting.
0和1之间的数值给出的水平的透明度,颜色,或NULL。这可以被用来防止overplotting。


参数:lty
if plotNA is TRUE, a vector of length four giving  the line types to be used for observations with different combinations of  observed and missing/imputed values in the plot variables and highlight variables  (vectors of length one or two are recycled).  Otherwise, a vector of length  two giving the line types for non-highlighted and highlighted observations  (if a single line type is supplied, it is used for both).
如果plotNA是TRUE,一个向量的长度为4个给线类型用于观测中的图变量和亮点变量(向量的长度为一的观察和失踪/估算值的不同组合,或被回收)。否则,一个向量的长度为2给予非高亮显示,并突出显示的观测值(如果被供给一个单一的线类型,它是用于两个)的行类型。


参数:xlim, ylim
axis limits.
轴的限制。


参数:main, sub
main and sub title.
主,子标题。


参数:xlab, ylab
axis labels.
轴标签。


参数:labels
either a logical indicating whether labels should be plotted  below each coordinate axis, or a character vector giving the labels.
是逻辑指示是否标签应被绘制每个坐标轴的下方,或一个字符矢量赋予标签。


参数:xpd
a logical indicating whether the lines should be allowed to go  outside the plot region.  If NULL, it defaults to TRUE unless  axis limits are specified.
逻辑的行是否应该被允许到外面去积区。如果NULL,它默认TRUE除非指定了轴限制。


参数:interactive
a logical indicating whether interactive features should  be enabled (see "Details").
逻辑的互动功能是否应该启用(见“详细信息”)。


参数:...
for parcoordMiss, further graphical parameters to be  passed down (see par).  For TKRparcoordMiss,  further arguments to be passed to parcoordMiss.
为parcoordMiss,进一步向下传递的图形参数(见par“)。对于TKRparcoordMiss,进一步的参数被传递给parcoordMiss。


参数:hscale
horizontal scale factor for plot to be embedded in a  Tcl/Tk window (see "Details").  The default value depends on  the number of variables.
被嵌入的Tcl / Tk的窗口(见“详细信息”)的地积比例因子水平。默认值取决于变量的数目。


参数:vscale
vertical scale factor for the plot to be embedded in a  Tcl/Tk window (see "Details").
垂直比例因子的图,被嵌入的Tcl / Tk的窗口(见“详细信息”)。


参数:TKRpar
a list of graphical parameters to be set for the plot to be  embedded in a Tcl/Tk window (see "Details" and  par).
图形参数设置的列表的图,被嵌入的Tcl / Tk的窗口(见“详细信息和par”)。


Details

详细信息----------Details----------

In parallel coordinate plots, the variables are represented by parallel  axes.  Each observation of the scaled data is shown as a line.  Observations  with missing/imputed values in selected variables may thereby be highlighted.   However, plotting variables with missing values results in disconnected  lines, making it impossible to trace the respective observations across  the graph.  As a remedy, missing values may be represented by a point above  the corresponding coordinate axis, which is separated from the main plot by a  small gap and a horizontal line, as determined by plotNA.  Connected  lines can then be drawn for all observations.  Nevertheless, a caveat of this  display is that it may draw attention away from the main relationships  between the variables.
在平行坐标图中,变量是由平行轴表示。缩放的数据的每个观察显示为一条线。观察与缺少/估算值在选定的变量可能会因此被高亮显示。然而,绘制变量具有缺失值的查询结果在断开线路,使得不可能跟踪跨越图形的各观测。作为补救措施,遗漏值可表示为相应的坐标轴,这是分开的,所确定的plotNA小的差距的主要图和一条水平线上方的点。连接线就可以得出对所有观测。不过,这显示一个警告的是,它可能引起注意的主要变量之间的关系。

If interactive is TRUE, it is possible switch between this  display and the standard display without the separate level for missing  values by clicking in the top margin of the plot. In addition, the variables  to be used for highlighting can be selected interactively.  Observations with  missing/imputed values in any or in all of the selected variables are highlighted (as  determined by selection).  A variable can be added to the selection by  clicking on a coordinate axis.  If a variable is already selected, clicking  on its coordinate axis removes it from the selection.  Clicking anywhere  outside the plot region (except the top margin, if missing/imputed values exist)  quits the interactive session.
如果interactive是TRUE,它可能是没有单独的遗漏值通过点击上边距的图,这显示和标准显示器之间切换。此外,要用于高亮显示的变量可以交互选择。观察有下落不明/,突出估算值中的任何或所有选定的变量(selection)。通过点击的坐标轴,一个变量可以被添加到选择。如果一个变量已经被选中,点击它的坐标轴,将其从选择。点击的图区域外的任何地方(除了顶部边缘,如果缺少/估算值存在)退出交互式会话。

TKRparcoordMiss behaves like parcoordMiss, but uses  tkrplot to embed the plot in a Tcl/Tk window.   This is useful if the number of variables is large, because scrollbars allow  to move from one part of the plot to another.
TKRparcoordMiss的行为就像parcoordMiss,但使用tkrplot的Tcl / Tk的窗口嵌入的图。如果变量的数量非常大,因为滚动条允许的图从一个移动到另一个,这是非常有用的。


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

Some of the argument names and positions have changed with versions 1.3 and  1.4 due to extended functionality and for more consistency with other plot  functions in VIM.  For back compatibility, the arguments  colcomb and xaxlabels can still be supplied to ...  and are handled correctly.  Nevertheless, they are deprecated and no longer  documented.  Use highlight and labels instead.
1.3和1.4版本的扩展功能和更高的一致性与其他绘图功能VIM已经改变了一些参数名称和位置。回兼容性,参数colcomb和xaxlabels仍然可以提供给...和正确处理。不过,他们已被弃用,不再记录。使用highlight和labels。


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


Andreas Alfons, Matthias Templ, modifications by Bernd Prantner



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

coordinates. Journal of the American Statistical Association 85 (411), 664–675.
Exploring incomplete data using visualization tools.  Journal of Advances in Data Analysis and Classification, Online first. DOI: 10.1007/s11634-011-0102-y.  

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

pbox
pbox


实例----------Examples----------


data(chorizonDL, package = "VIM")
## for missing values[#遗漏值]
parcoordMiss(chorizonDL[,c(15,101:110)],
    plotvars=2:11, interactive = FALSE)
legend("top", col = c("skyblue", "red"), lwd = c(1,1),
    legend = c("observed in Bi", "missing in Bi"))

## for imputed values[#估算值]
parcoordMiss(kNN(chorizonDL[,c(15,101:110)]), delimiter = "_imp" ,
    plotvars=2:11, interactive = FALSE)
legend("top", col = c("skyblue", "orange"), lwd = c(1,1),
    legend = c("observed in Bi", "imputed in Bi"))

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-26 10:43 , Processed in 0.028004 second(s), 15 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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