View source: R/clean_coefficients.R
clean_coefficients | R Documentation |
Processing to split out base levels and add variable importance to each term. Inspired by 'tidycat::tidy_categorical()', modified for use in prettyglm..
clean_coefficients(
d = NULL,
m = NULL,
vimethod = "model",
spline_seperator = NULL,
...
)
d |
Data frame |
m |
Model object |
vimethod |
Variable importance method. Still in development |
spline_seperator |
Sting of the spline separator. For example AGE_0_25 would be "_" |
... |
Any additional parameters to be past to |
Expanded tibble
from the version passed to 'd' including additional columns:
variable |
The name of the variable that the regression term belongs to. |
level |
The level of the categorical variable that the regression term belongs to. Will be an the term name for numeric variables. |
Jared Fowler, Guy J. Abel
tidy.lm
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.