View source: R/RunAllPossibleRegression.R
Runs "all possible regression" analysis using the olsrr::ols_step_best_subset() function, plots the "relevant" measures and saves to disk.
1 2 3 4 5 6 7 |
fit |
lm object. Full model fit to the data. No default. |
performance.measures |
Character vector. Performance measures of candidate model to include in the performance table. Defaults to c("adjr", "aic", "sbic", "cp"). |
pretty.labels |
Character vector. Column names for performance measures in performance table. Defaults to c("Adjusted R-squared", "AIC", "BIC", "C(p)") |
dir |
Character vector of lenght 1. Directory in which to store the plot. Ignored if save.plot is FALSE. Defaults to "./" |
save.plot |
Logical vector of length 1. If TRUE then the plot is saved to disk. Defaults to TRUE |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.