Description Usage Arguments Deprecated Function See Also Examples
Graph to determine whether we should add a new predictor to the model already containing other predictors. The residuals from the model is regressed on the new predictor and if the plot shows non random pattern, you should consider adding the new predictor to the model.
1 | ols_plot_resid_regressor(model, variable)
|
model |
An object of class |
variable |
New predictor to be added to the |
ols_rvsr_plot()
has been deprecated. Instead use ols_plot_resid_regressor()
.
[ols_plot_added_variable()], [ols_plot_comp_plus_resid()]
1 2 | model <- lm(mpg ~ disp + hp + wt, data = mtcars)
ols_plot_resid_regressor(model, drat)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.