visualize.lm | R Documentation |
Visualize a fitted model
## S3 method for class 'lm'
visualize(
object,
plot = c("all", "residuals", "model"),
formula = NULL,
plots.as.list = FALSE,
...
)
object |
a lm object |
plot |
what should be plotted? Residuals? Model plot? All of them? |
formula |
A flexplot-style formula |
plots.as.list |
Should the plots be returned as a list? Defaults to FALSE. |
... |
Other arguments passed to flexplot |
a plot containing a visual of the chosen model
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.