Description Usage Arguments Examples
This function helps you select the best linear model given your dataset. Allows you to define a denpendent variable, any variables you wish to have in your final model and which type of optomized liner model you would like returned. Provides both Adjusted R^2 and p-value optimized models.
1 2 | best_lm_model(data, dep_var = "", keep_vars = list(),
ignore_vars = list(), return = "all")
|
data |
A |
dep_var |
A |
keep_vars |
A |
ignore_vars |
A |
return |
A
|
1 | best_lm_model(swiss, dep_var="Fertility", keep_var="Catholic", return="p")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.