Revision dc000f2a5f006d137f66716b086025d618bf8306 authored by John M Chambers on 14 July 2008, 00:00:00 UTC, committed by Gabor Csardi on 14 July 2008, 00:00:00 UTC
1 parent 635622b
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