View source: R/regression_anatomy.R
Show original scatterplots and scatterplots of y and controlled x_i, i.e. the residuals of a regression of x_i on the other explanatory variables. See e.g. Filoso (2010): https://mpra.ub.uni-muenchen.de/42716/1/FILOSO-Regression_Anatomy_Revealed.pdf
1 | regression.anatomy.plots(mod, vars = NULL)
|
mod |
A regression model, a result of a call to lm. |
vars |
which x variables shall be included in the plot |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.