powered by
Plot linear model object
plot_lm(lm_fit, format = "2x2", global_aes = NULL)
An object of class 'lm'
The format of the plot (or a list of plots if format is "list")
Currently no effect.
data(income) m1 <- lm(inc ~ race + educ, data=income) plot_lm(m1) plot_lm(m1, "2x2") plot_lm(m1, "1x4") plot_lm(m1, "4x1") plot_lm(m1, "list")
Run the code above in your browser using DataLab