The use of variable labels defined through the "label" attributes (cf. haven and labelled packages) is becoming more and more common. They are displayed in RStudio viewer. They are automatically used by gtsummary for printing variable summary tables.
Would it be relevant to add an option to use variable labels instead of variable names for labelling axis and legends?
The use of variable labels defined through the "label" attributes (cf.
haven
andlabelled
packages) is becoming more and more common. They are displayed in RStudio viewer. They are automatically used bygtsummary
for printing variable summary tables.Would it be relevant to add an option to use variable labels instead of variable names for labelling axis and legends?