powered by
diagBinom(mod, type = 1:2, ask = prod(par("mfcol")) < length(type) && dev.interactive())
glm
binomial
family
1
2
TRUE
plot.lm
require(stats) model1 <- glm(case ~ spontaneous+induced, data = infert, family = binomial()) diagBinom(model1)
Run the code above in your browser using DataLab