Usage
regPlot(out, type, digits.d=NULL, pred.intervals=TRUE,
res.sort=c("cooks","rstudent","dffits","off"),
res.rows=NULL, cooks.cut=1, scatter.coef=NULL,
pdf=FALSE, pdf.width=5, pdf.height=5, manage.gr=FALSE, ...)
Arguments
out
The object returned by the lessR
function Regression
. type
Type of plot: 1 plots the scatter plot for a single predictor
variable, or the scatter plot matrix for multiple predictors. If a single
scatter plot, then the confidence and prediction intervals are included. 2
plots the density an
digits.d
For the Basic Analysis, the number of decimal digits,
set by default to at least 3 or the largest number of digits in the values
of the response variable plus 1.
pred.intervals
If set to FALSE
, the scatter plot for a single predictor
with the response does not contain prediction and confidence intervals.
res.sort
Default is "cooks"
, for specifying Cook's distance as the sort
criterion for the display of the rows of data and associated residuals. Other values
are "rstudent"
for externally Studentized residuals, "dffits
res.rows
Default is 20, which lists the first 20 rows of data sorted by the
specified sort criterion. To disable residuals, specify a value of 0. To see
the output for all observations, specify a value of "all"
.
cooks.cut
Cutoff value of Cook's Distance at which observations with a larger value
are flagged in red and labeled in the resulting scatterplot of Residuals and Fitted
Values. Default value is 1.0.
scatter.coef
Display the correlation coefficients in the upper triangle of the
scatterplot matrix.
pdf
If TRUE
, then graphics are written to pdf files.
pdf.width
Width of the pdf file in inches.
pdf.height
Height of the pdf file in inches.
manage.gr
Usually leave FALSE
. Refers to graphic management of the lessR
system.
...
Other parameter values for R function lm
which provides the core computations.