View source: R/plot_functions.r
plot_lm | R Documentation |
Plot linear model object
plot_lm(lm_fit, format = "2x2")
lm_fit |
An object of class 'lm' |
format |
The format of the plot (or a list of plots if format is "list") |
m1 <- lm(speed ~ dist, data=cars)
plot_lm(m1)
plot_lm(m1, "2x2")
plot_lm(m1, "1x4")
plot_lm(m1, "4x1")
plot_lm(m1, "list")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.