pairsVIM(VIM)
pairsVIM()所属R语言包:VIM
Scatterplot Matrices
散点图矩阵
译者:生物统计家园网 机器人LoveR
描述----------Description----------
Create a scatterplot matrix.
创建一个散点图基质。
用法----------Usage----------
pairsVIM(x, ..., delimiter = NULL, main = NULL, sub = NULL,
panel = points, lower = panel, upper = panel, diagonal = NULL,
labels = TRUE, pos.labels = NULL, cex.labels = NULL,
font.labels = par("font"), layout = c("matrix","graph"), gap = 1)
参数----------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“)。
参数:main, sub
main and sub title.
主,子标题。
参数:panel
a function(x, y, ...), which is used to plot the contents of each off-diagonal panel of the display.
一个function(x, y, ...),它被使用来绘制的内容的每一个的非对角(off-diagonal)的显示面板。
参数:...
further arguments and graphical parameters to be passed down. par("oma") will be set appropriately unless supplied (see par).
进一步的论据和图形参数得以流传下去。 par("oma")将设置适当的,除非提供(见par)。
参数:lower, upper
separate panel functions to be used below and above the diagonal, respectively.
的下面和上面的对角线,分别使用单独的面板功能。
参数:diagonal
optional function(x, ...) to be applied on the diagonal panels.
可选function(x, ...)要施加在对角线上的面板。
参数:labels
either a logical indicating whether labels should be plotted in the diagonal panels, or a character vector giving the labels.
是逻辑指示是否标签应被绘制在对角线的面板,或一个字符矢量赋予标签。
参数:pos.labels
the vertical position of the labels in the diagonal panels.
对角线板中的标签的垂直位置。
参数:cex.labels
the character expansion factor to be used for the labels.
字符扩展系数要用于标签。
参数:font.labels
the font to be used for the labels.
要使用的字体的标签。
参数:layout
a character string giving the layout of the scatterplot matrix. Possible values are "matrix" (a matrix-like layout with the first row on top) and "graph" (a graph-like layout with the first row at the bottom).
一个字符的字符串,给出了布局的散点图矩阵。可能的值是"matrix"(类似矩阵的布局与第一行的顶部)和"graph"(类似的曲线图布局在底部的第一行)。
参数:gap
a numeric value giving the distance between the panels in margin lines.
一个数字值,该值给予边界线之间的距离中的面板。
Details
详细信息----------Details----------
This function is the workhorse for marginmatrix and scattmatrixMiss.
这功能是主力marginmatrix和scattmatrixMiss。
The graphical parameter oma will be set unless supplied as an argument.
图形参数oma设置,除非作为参数提供。
A panel function should not attempt to start a new plot, since the coordinate system for each panel is set up by pairsVIM.
一个面板功能不应该试图启动一个新的图,因为每个面板的坐标系成立pairsVIM。
注意----------Note----------
The code is based on pairs. Starting with version 1.4, infinite values are no longer removed before passing the x and y vectors to the panel functions.
该代码是基于pairs。从版本1.4开始,无限值不再被移除前面板功能通过x和y向量。
(作者)----------Author(s)----------
Andreas Alfons, 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----------
marginmatrix, scattmatrixMiss
marginmatrix,scattmatrixMiss
实例----------Examples----------
data(sleep, package = "VIM")
x <- sleep[, -(8:10)]
x[,c(1,2,4,6,7)] <- log10(x[,c(1,2,4,6,7)])
pairsVIM(x)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|