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

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

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

                                        Parallel boxplots with information about missing/imputed values
                                         与信息丢失/估算值的并行箱线图

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

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

Boxplot of one variable of interest plus information about missing/imputed values  in other variables.
盒形图的利息加信息丢失/估算值,在其他变量的一个变量。


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


pbox(x, delimiter = NULL, pos = 1, selection = c("none","any","all"),
    col = c("skyblue","red","red4","orange","orange4"), numbers = TRUE,
    cex.numbers = par("cex"), xlim = NULL, ylim = NULL, main = NULL,
    sub = NULL, xlab = NULL, ylab = NULL, axes = TRUE,
    frame.plot = axes, labels = axes, interactive = TRUE, ...)

TKRpbox(x, pos = 1, ..., delimiter = NULL, hscale = NULL, vscale = 1,
    TKRpar = list())



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

参数:x
a vector, 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“)。


参数:pos
a numeric value giving the index of the variable of  interest.  Additional variables in x are used for  grouping according to missingness/number of imputed missings.
一个数字值,该值给感兴趣的变量的索引。其他变量在x用于分组,以missingness /估算missings数根据的。


参数:selection
the selection method for grouping according to  missingness/number of imputed missings in multiple additional variables. Possible values are "none" (grouping according to missingness/number of imputed missings in every other variable that contains missing/imputed values), "any" (grouping according to missingness/number of imputed missings in any of the additional variables) and "all" (grouping according to missingness/number of imputed missings in all of the additional variables).
选择方法进行分组,以missingness /的多个额外变量的的估算missings在数根据。可能的值有"none"(根据missingness /的估算missings数在所有其他变量,它包含丢失/估算值)的分组,"any"(分组根据任何额外的missingness /估算missings数变量)和"all"(分组根据missingness /额外的变量在所有的的估算missings数)。


参数:col
a vector of length five giving the colors to be used in the  plot. The first color is used for the boxplots of the available data, the second/fourth are used for missing/imputed data, respectively,  and the third/fifth color for the frequencies of missing/imputed values in both variables (see "Details").   If only one color is supplied, it is used for the boxplots for missing/imputed  data, whereas the boxplots for the available data are transparent.   Else if two colors are supplied, the second one is recycled.
长度为5的向量给予图中要使用的颜色。使用第一种颜色的盒形图的可用数据,第二/四是用来为丢失/估算数据,分别与缺少/第三/第五种颜色的频率估算这两个变量中的值(见“详细信息” )。如果只有一种颜色被提供时,它被用于为缺失/插补数据的盒形图,而可用的数据的盒形图是透明的。否则,如果两个颜色被提供的,第二个循环。


参数:numbers
a logical indicating whether the frequencies of missing/imputed  values should be displayed (see "Details").
逻辑的频率丢失/估算值指示是否应显示(见“详细信息”)。


参数:cex.numbers
the character expansion factor to be used for the  frequencies of the missing/imputed values.
要使用的字符膨胀系数的频率的丢失/估算值。


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


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


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


参数:axes
a logical indicating whether axes should be drawn  on the plot.
逻辑指示是否应绘制在图上轴。


参数:frame.plot
a logical indicating whether a box should be drawn  around the plot.
逻辑指示是否应制定一个盒子,周围的图。


参数:labels
either a logical indicating whether labels should be  plotted below each box, or a character vector giving the labels.
无论是逻辑是否应该被绘制标签下面的每个盒子,或一个字符向量的标签。


参数:interactive
a logical indicating whether variables can be  switched interactively (see "Details").
一个逻辑变量可以切换是否交互方式(见“详细信息”)。


参数:...
for pbox, further arguments and graphical parameters  to be passed to boxplot and other functions.   For TKRpbox, further arguments to be passed to pbox.
pbox,进一步的论据和图形参数被传递到boxplot和其他功能。对于TKRpbox,进一步的参数被传递给pbox。


参数:hscale
horizontal scale factor for plot to be embedded in a  Tcl/Tk window (see "Details").  The default value  depends on the number of boxes to be drawn.
被嵌入的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----------

This plot consists of several boxplots. First, a standard boxplot of the  variable of interest is produced. Second, boxplots grouped by observed and  missing/imputed values according to selection are produced for the variable  of interest.
此图是由几个盒状图。首先,感兴趣的变量产生一个标准的箱线图。其次,箱线图观察到的和丢失/估算值的分组根据selection感兴趣的变量。

Additionally, the frequencies of the missing/imputed values can be represented  by numbers.  If so, the first line corresponds to the observed values of  the variable of interest and their distribution in the different groups,  the second line to the missing/imputed values.
此外,频率的丢失/估算值可以用数字来表示。如果是这样,第一行对应的兴趣和他们分布在不同的组,第二行的丢失/估算值的变量的观测值。

If interactive=TRUE, clicking in the left margin of the plot  results in switching to the previous variable and clicking in the right  margin results in switching to the next variable.  Clicking anywhere  else on the graphics device quits the interactive session.
如果interactive=TRUE,点击在左旁的图切换到以前的变量,然后点击右边距的结果,在切换到下一个变量的结果。在图形设备上其他任何地方,即可退出交互式会话。

TKRpbox behaves like pbox with selection="none",  but uses tkrplot to embed the plot in a  Tcl/Tk window.  This is useful for drawing a large number of  parallel boxes, because scrollbars allow to move from one part of the  plot to another.
TKRpbox的行为就像pbox与selection="none",但使用tkrplot的Tcl / Tk的窗口中嵌入的图。绘制了大量的箱并列,这是非常有用的,因为滚动条允许的图从一个移动到另一个。


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

a list as returned by boxplot.
返回boxplot的列表。


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

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


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


Andreas Alfons, Matthias Templ, modifications by Bernd Prantner



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

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----------

parcoordMiss
parcoordMiss


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


data(chorizonDL, package = "VIM")
## for missing values[#遗漏值]
pbox(log(chorizonDL[, c(4,5,8,10,11,16:17,19,25,29,37,38,40)]))

## for imputed values[#估算值]
pbox(kNN(log(chorizonDL[, c(4,8,10,11,17,19,25,29,37,38,40)])),
     delimiter = "_imp")

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


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

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-26 08:42 , Processed in 0.023034 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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