Description Usage Arguments Details Value Note Author(s) References See Also Examples
Boxplot of one variable of interest plus information about missing/imputed values in other variables.
1 2 |
x |
a vector, matrix or |
pos |
a numeric value giving the index of the variable of interest.
Additional variables in |
delimiter |
a character-vector to distinguish between variables and
imputation-indices for imputed variables (therefore, |
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. |
vscale |
vertical scale factor for the plot to be embedded in a Tcl/Tk window (see ‘Details’). |
TKRpar |
a list of graphical parameters to be set for the plot to be
embedded in a Tcl/Tk window (see ‘Details’ and
|
... |
for |
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.
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.
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.
a list as returned by boxplot
.
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.
Andreas Alfons, Matthias Templ, modifications by Bernd Prantner
M. Templ, A. Alfons, P. Filzmoser (2012) Exploring incomplete data using visualization tools. Journal of Advances in Data Analysis and Classification, Online first. DOI: 10.1007/s11634-011-0102-y.
A. Kowarik, M. Templ (2016) Imputation with R package VIM. Journal of Statistical Software, 74(7), 1-16
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.