plotLogiDx(x, noPerPage = 6,
cols = c("deepskyblue", "dodgerblue"), cex = 2,
pch = 21, inches = 0.25, identify = FALSE,
extras = FALSE, width = NULL, height = NULL)glmgraphics::points?graphics::plot.default?graphics::points?graphics::symbolsTRUE will give option to
identify individual points on a number of the plots
produced.
The number which appears next to the point
corresponds to the relevant row as given by
logiGOFTRUE produces additional plots,
detailed belowextras=TRUE:?car::influencePlot?car::spreadLevelPlot?stats::qqplot?graphics::pairs?car::crPlots?car::avPlotsdata.frame
used to fit the model be present in the current
environment. See
?car::mmpsset.seed(1)
### generate up to 8x covariate patterns
mod1 <- genLogiDf(b=3, f=0, c=0, n=50)$model
plotLogiDx(mod1, cex=8, noPerPage=1)
plotLogiDx(mod1, cex=3, noPerPage=6, extras=TRUE)
df1 <- genLogiDf(b=0,f=0,c=2,n=50, model=FALSE)
g1 <- glm(y ~ ., family=binomial("logit"), data=df1)
plotLogiDx(g1)Run the code above in your browser using DataLab