get_variable_t: get_variable_t
Description
Generate more specific variable names
Usage
get_variable_t(
model_table,
excl_intercept = TRUE,
excl_dup = TRUE,
excl_blanks = FALSE,
trans_df = NULL
)
Value
tibble of model table with added variable_t column
Arguments
- model_table
tibble/ data.frame as created in the build_model_table function
- excl_intercept
Boolean to specify whether to drop the "(Intercept)" row of the model table
- excl_dup
Boolean to specify whether to drop the duplicated rows of the model table
- excl_blanks
Boolean to specify whether to drop the blank rows of the model
- trans_df
data.frame defining the non-linear transformations
Details
Generate variable names that capture the transformations applied
Examples
Run this codemodel_table = build_model_table(colnames(mtcars)) %>%
get_variable_t()
Run the code above in your browser using DataLab