Description Usage Arguments Examples
View source: R/ols-plots-data.R
Regress a predictor in the model on all the other predictors.
1 |
data |
A |
i |
A numeric vector (indicates the predictor in the model). |
1 2 3 | model <- lm(mpg ~ disp + hp + wt, data = mtcars)
data <- ols_prep_avplot_data(model)
ols_prep_regress_x(data, 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.