A convenience function which can be passed to the coef_rename argument of the modelsummary function.

coef_rename(
x,
factor = TRUE,
factor_name = TRUE,
backticks = TRUE,
titlecase = TRUE,
underscore = TRUE,
asis = TRUE
)

## Arguments

x character vector of term names to transform boolean remove the "factor()" label boolean remove the "factor()" label and the name of the variable boolean remove backticks boolean convert to title case boolean replace underscores by spaces boolean remove the I from as-is formula calls