Configure a label dictionary for renaming attributes and levels in
all cjdiag plot and print output. Inspired by fixest::setFixest_dict().
Arguments
- attribute.names
Named character vector mapping original attribute names to display names, e.g.,
c(LanguageSkills = "English Proficiency")- level.names
Named list of named character vectors for level renaming, e.g.,
list(Gender = c(female = "Female", male = "Male"))- reset
If
TRUE, clears the label dictionary (defaultFALSE)
See also
Other customization:
cjdiag_palette(),
get_cjdiag_options(),
set_cjdiag_theme(),
theme_cjdiag()
Examples
set_cjdiag_labels(
attribute.names = c(LanguageSkills = "English Proficiency",
JobPlans = "Plans for Employment")
)
# Reset
set_cjdiag_labels(reset = TRUE)
