plot.fwdglm | R Documentation |
This function plots the results of a forward search analysis in generalized linear models.
## S3 method for class 'fwdglm'
plot(x, which.plots = 1:11, squared = FALSE, scaled =FALSE,
ylim = NULL, xlim = NULL, th.Res = 4, th.Lev = 0.25, sig.Tst =2.58,
sig.score = 1.96, plot.pf = FALSE, labels.in.plot = TRUE, ...)
x |
a |
which.plots |
select which plots to draw, by default all. Each graph is addressed by an integer:
|
squared |
logical, if |
scaled |
logical, if |
ylim |
a two component vector for the min and max of the y axis. |
xlim |
a two component vector for the min and max of the x axis. |
th.Res |
numerical, a threshold for labelling the residuals. |
th.Lev |
numerical, a threshold for labelling the leverages. |
sig.Tst |
numerical, a value used to draw the confidence interval on the plot of the t statistics. |
sig.score |
numerical, a value used to draw the confidence interval on the plot of the score test statistic. |
plot.pf |
logical, in case of binary response if |
labels.in.plot |
logical, if |
... |
further arguments passed to or from other methods. |
Originally written for S-Plus by:
Kjell Konis kkonis@insightful.com and Marco Riani mriani@unipr.it
Ported to R by Luca Scrucca luca@stat.unipg.it
Atkinson, A.C. and Riani, M. (2000), Robust Diagnostic Regression Analysis, First Edition. New York: Springer, Chapter 6.
fwdglm
, fwdlm
, fwdsco
.
## Not run:
data(cellular)
mod <- fwdglm(y ~ as.factor(TNF) + as.factor(IFN), data=cellular,
family=poisson(log), nsamp=200)
summary(mod)
plot(mod)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.