resfwdplot | R Documentation |
Plots the trajectories of the monitored scaled (squared) residuals
resfwdplot(out,
xlim, ylim, xlab, ylab, main, lwd, lty, col, cex.lab, cex.axis,
xvalues,
fg.thresh, fg.unit, fg.labstep, fg.lwd, fg.lty, fg.col, fg.mark, fg.cex,
bg.thresh, bg.style,
tag, datatooltip, label, nameX, namey, msg, databrush,
standard, fground, bground, ...)
out |
An object returned by one of the monitoring functions (see The needed elements of
|
ylim |
Control |
xlim |
Control |
xlab |
a title for the x axis |
ylab |
a title for the y axis |
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 |
xvalues |
values for the x axis. Numeric vector of |
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. |
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 bthresh.
When |
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 missing or empty.
The default is For example for class
|
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 |
namey |
Add response label. A string containing the label of the response |
msg |
Controls whether to display or not messages on the screen If |
databrush |
interactive mouse brushing. If databrush is missing or empty (default), no brushing is done. The activation of this option (databrush is a scalar or a list) enables the user to select a set of trajectories in the current plot and to see them highlighted in the y|X plot, i.e. a matrix of scatter plots of y against each column of X, grouped according to the selection(s) done by brushing. If the plot y|X does not exist it is automatically created. In addition, brushed units are automatically highlighted in the minimum deletion residual plot if it is already open. The extension to the following plots will be available in future versions of the toolbox:
Note that the window style of the other figures is set equal to that which contains the monitoring residual plot. In other words, if the monitoring residual plot is docked all the other figures will be docked too If If
|
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 fground trajectories in foregroud. |
bground |
MATLAB-style arguments for the fground trajectories in backgroud. |
... |
potential further arguments passed to lower level functions. |
No details
No value returned
FSDA team
## Not run:
n <- 100
y <- rnorm(n)
X <- matrix(rnorm(n*4), nrow=n)
out <- fsreg(y~X, method="LTS")
out <- fsreg(y~X, method="FS", bsb=out$bs, monitoring=TRUE)
resfwdplot(out)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.