Usage
## S3 method for class 'imp':
plot(x, ..., which = 1, ord = 1:ncol(x),
colcomb = "missnonmiss", plotvars = NULL,
col = c("skyblue", "red"), alpha = NULL,
lty = par("lty"), xaxt = "s", xaxlabels = NULL,
las = 3, interactive = TRUE, pch = c(1, 3),
ask = prod(par("mfcol")) < length(which) && dev.interactive(),
center = FALSE, scale = FALSE, id = FALSE,
seg.l = 0.02, seg1 = TRUE)
Arguments
...
other parameters to be passed through to plotting functions.
which
if a subset of the plots is required, specify a subset of the numbers 1:3.
ord
determines the ordering of the variables
colcomb
if colcomb$=$missnonmiss, observations with missings in any variable
are highlighted. Otherwise, observations with missings in any of the variables
specified by colcomb are highlighted in the parallel coordinate plot.
plotvars
Parameter for the parallel coordinate plot. A vector giving the variables to be plotted.
If NULL (the default), all variables are plotted.
col
a vector of length two giving the colors to be used in the plot.
The second color will be used for highlighting.
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.
lty
a vector of length two giving the line types.
The second line type will be used for the highlighted observations.
If a single value is supplied,
it will be used for both non-highlighted and highlighted observations.
xaxt
the x-axis type (see par
). xaxlabels
a character vector containing the labels for the x-axis.
If NULL, the column names of x will be used.
las
the style of axis labels (see par
). interactive
a logical indicating whether the variables to be used
for highlighting can be selected interactively (see Details).
pch
a vector of length two giving the symbol of the plotting points.
The symbol will be used for the highlighted observations.
If a single value is supplied,
it will be used for both non-highlighted and highlighted observations.
ask
logical; if TRUE, the user is asked before each plot, see par
(ask=.). center
logical, indicates if the data should be centered prior plotting the ternary plot.
scale
logical, indicates if the data should be centered prior plotting the ternary plot.
id
reads the position of the graphics pointer when the (first)
mouse button is pressed and returns the corresponding index of the observation.
(only used by the ternary plot)
seg.l
length of the plotting symbol (spikes) for the ternary plot.
seg1
if TRUE, the spikes of the plotting symbol are justified.