malfwdplot | R Documentation |
Plots the trajectories of scaled Mahalanobis distances along the forward search
malfwdplot(
out,
xlim,
ylim,
xlab,
ylab,
main,
lwd,
lty,
col,
cex.lab,
cex.axis,
subsize,
fg.thresh,
fg.unit,
fg.labstep,
fg.lwd,
fg.lty,
fg.col,
fg.mark,
fg.cex,
bg.thresh,
bg.style,
standard,
fground,
bground,
tag,
datatooltip,
label,
nameX,
databrush,
conflev,
trace = FALSE,
...
)
out |
An object of S3 class The needed elements of
|
xlim |
Controls the |
ylim |
Controls the |
xlab |
A title for the x axis |
ylab |
A title for the y axis, deafult is "Squared Mahalanobis distances". |
main |
An overall title for the plot |
lwd |
The line width, a positive number, defaulting to 1 |
lty |
The line type. Line types can either be specified as an integer (1=solid (default), 2=dashed, 3=dotted, 4=dotdash, 5=longdash, 6=twodash) or as one of the character strings "solid", "dashed", "dotted", "dotdash", "longdash", or "twodash". The latter two are not supported by Matlab. |
col |
Colors to be used for the highlighted units |
cex.lab |
The magnification to be used for x and y labels relative to the current setting of cex |
cex.axis |
The magnification to be used for axis annotation relative to the current setting of cex |
subsize |
Numeric vector containing the subset size with length equal to the number of columns of
matrix of mahalanobis distances. The default value of subsize is |
fg.thresh |
(alternative to fg.unit) numeric vector of length 1 or 2 which specifies
the highlighted trajectories.
If |
fg.unit |
(alternative to fg.thresh), vector containing the list of the units to be highlighted.
If |
fg.labstep |
numeric vector which specifies the steps of the search where to put labels for
the highlighted trajectories (units). The default is to put the labels at the
initial and final steps of the search. |
fg.lwd |
The line width for the highlighted trajectories (units). Default is 1. |
fg.lty |
The line type for the highlighted trajectories (units). Line types can either be specified as an integer (1=solid (default), 2=dashed, 3=dotted, 4=dotdash, 5=longdash, 6=twodash) or as one of the character strings "solid", "dashed", "dotted", "dotdash", "longdash", or "twodash". The latter two are not supported by Matlab. |
fg.col |
colors to be used for the highlighted units. |
fg.mark |
Controlls whether to plot highlighted trajectories as symbols.
if |
fg.cex |
Controls the font size of the labels of the trajectories in foreground. If
|
bg.thresh |
Numeric vector of length 1 or 2 which specifies how to define the unimmportant trajectories.
Unimmportant trajectories will be plotted using a colormap, in greysh or will be hidden.
If |
bg.style |
Specifies how to plot the unimportant trajectories as defined in option bg.thresh.
When |
standard |
MATLAB-style arguments - appearance of the plot in terms of xlim, ylim, axes labels and their font size style, color of the lines, etc. |
fground |
MATLAB-style arguments - for the trajectories in foregroud. |
bground |
MATLAB-style arguments - for the trajectories in backgroud. |
tag |
Plot handle. String which identifies the handle of the plot which is about to be created. The default is to use tag 'pl_resfwd'. Notice that if the program finds a plot which has a tag equal to the one specified by the user, then the output of the new plot overwrites the existing one in the same window else a new window is created. |
datatooltip |
Interactive clicking. It is inactive if this parameter is set to FALSE.
The default is
|
label |
Character vector containing the labels of the units (optional argument used when
|
nameX |
Add variable labels in plot. A vector of strings of length |
databrush |
Interactive mouse brushing. If databrush is missing or empty (default), no brushing is done.
The activation of this option (databrush is If If
|
conflev |
confidence interval for the horizontal bands. It can be a vector of different confidence level values, e.g. c(0.95, 0.99, 0.999). The confidence interval is based on the $chi^2$ distribution. |
trace |
Whether to print intermediate results. Default is |
... |
potential further arguments passed to lower level functions. |
none
FSDA team, valentin.todorov@chello.at
Atkinson A.C., Riani M. and Cerioli A. (2004), Exploring Multivariate Data with the Forward Search, Springer Verlag, New York.
## Not run:
## Produce monitoring MD plot with all the default options.
## Generate input structure for malfwdplot
n <- 100
p <- 4
Y <- matrix(rnorm(n*p), ncol=p)
Y[1:10,] <- Y[1:10,] + 4
out <- fsmult(Y, monitoring=TRUE, init=30)
## Produce monitoring MD plot with all the default options
malfwdplot(out)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.