Skip to contents

Get a named vector we can use to relabel a gtsummary table

Usage

get_table_summary_labels(pretty_labels)

Arguments

pretty_labels

a data like those returned by get_pretty_labels_template(), but with pretty labels in place of the templated values.

Value

a named vector of pretty labels with the plain labels as the names

Examples

if (FALSE) { # \dontrun{
  get_table_summary_labels(pretty_labels)
} # }