View source: R/private_functions.R
prGetModelVariables | R Documentation |
This function extract the modelled variables. Any interaction terms are removed as those should already be represented by the individual terms.
prGetModelVariables(
model,
remove_splines = TRUE,
remove_interaction_vars = FALSE,
add_intercept = FALSE
)
model |
A model fit |
remove_splines |
If splines, etc. should be cleaned from the variables as these no longer are "pure" variables |
remove_interaction_vars |
If interaction variables are
not interesting then these should be removed. Often in
the case of |
add_intercept |
Adds the intercept if it exists |
vector with names
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.