Revision 9e5b9bb8a0564f8bf629df4ca5e96d3078f50363 authored by jmc on 14 July 2008, 00:00:00 UTC, committed by Gabor Csardi on 14 July 2008, 00:00:00 UTC
1 parent a3b36b1
Raw File
dropModel.R
dropModel <- function(model, drop) {
    model2 <- update(model,
                         dropFormula(model, drop))
    plot(resid(model), resid(model2),
         xlab = "Original Residuals",
         ylab = paste("Residuals after dropping", drop))
    abline(0,1)
    model2
}
back to top