powered by
Produce standard diagnostic plots for linear models using ggplot2.
lmPlots_gg(model)
A linear model object produced by lm().
lm()
# NOT RUN { n <- 100; x1 <- rnorm(n); y1 <- rnorm(n); linmod <- lm(y1 ~ x1) lmPlots_gg(linmod) # }
Run the code above in your browser using DataLab