resindexplot | R Documentation |
The function resindexplot()
plots the residuals from a regression analysis
versus index number or any other variable. The residuals come from an output
object of any of the regression fucntions or a simply a vector of values.
In order to use the databrush option, the residuals must come from one of
the fsdaR regression functions.
resindexplot(out, x, xlim, ylim, xlab, ylab, main, numlab, indlab, conflev, cex.axis,
cex.lab, lwd, nameX, namey, tag, col, cex, databrush, ...)
out |
A vector containing the residuals from a regression analysis or an object returned by one of
the regression functions (see |
x |
The vector to be plotted on the x-axis. As default the sequence 1:length(residuals) will be used |
xlim |
Control |
ylim |
Control |
xlab |
a title for the x axis |
ylab |
a title for the y axis |
main |
an overall title for the plot |
numlab |
Number of points to be identified in plots (see also |
indlab |
Which points to be identified in plots (see also |
conflev |
Confidence interval for the horizontal bands (a numeric vector). It can be a vector of different confidence level values. Remark: confidence interval is based on the chi^2 distribution |
cex.axis |
The magnification to be used for axis annotation relative to the current setting of cex |
cex.lab |
The magnification to be used for x and y labels relative to the current setting of cex |
lwd |
The line width, a positive number, defaulting to 1 |
tag |
Figure tag (character). Tag of the figure which will host the |
col |
Fill color for markers that are closed shapes (circle, square, diamond, pentagram, hexagram, and the four triangles).
Can be |
cex |
Size of the point symbols. The magnification to be used relative to the current setting of cex. |
nameX |
Add variable labels in plot. A vector of strings of length |
namey |
Add response label. A string containing the label of the response |
databrush |
Interactive mouse brushing. If databrush is missing or empty (default) or
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
|
... |
potential further arguments passed to lower level functions. |
No details
No value returned
FSDA team
## Not run:
out <- fsreg(stack.loss~., data=stackloss)
resindexplot(out, conflev=c(0.95,0.99), col="green")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.