View source: R/ols-plots-data.R
| ols_prep_regress_y | R Documentation | 
Regress y on all the predictors except the ith predictor.
ols_prep_regress_y(data, i)
| data | A  | 
| i | A numeric vector (indicates the predictor in the model). | 
model <- lm(mpg ~ disp + hp + wt, data = mtcars)
data <- ols_prep_avplot_data(model)
ols_prep_regress_y(data, 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.