Usage
scattJitt(x, delimiter = NULL, col = c("skyblue","red","red4","orange",
"orange4"), alpha = NULL, cex = par("cex"), col.line = "lightgrey",
lty = "dashed", lwd = par("lwd"), numbers = TRUE,
cex.numbers = par("cex"), main = NULL, sub = NULL, xlab = NULL,
ylab = NULL, axes = TRUE, frame.plot = axes,
labels = c("observed","missing","imputed"), ...)
Arguments
x
a data.frame
or matrix
with two columns.
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
cor col
a vector of length five giving the colors to be used in the
plot. The first color will be used for complete observations, the
second/fourth color for missing/imputed values in only one variable,
and the third/fifth color for mis
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.
cex
the character expansion factor for the plot characters.
col.line
the color for the lines dividing the plot region.
lty
the line type for the lines dividing the plot region (see
par
). lwd
the line width for the lines dividing the plot region.
numbers
a logical indicating whether the frequencies of
observed and missing/imputed values should be displayed
(see Details).
cex.numbers
the character expansion factor to be used for the
frequencies of the observed and missing/imputed values.
main, sub
main and sub title.
axes
a logical indicating whether both axes should be drawn
on the plot. Use graphical parameter "xaxt"
or "yaxt"
to suppress just one of the axes.
frame.plot
a logical indicating whether a box should be drawn
around the plot.
labels
a vector of length three giving the axis labels for the
regions for observed, missing and imputed values (see Details).
...
further graphical parameters to be passed down (see
par
).