Skip to contents

Function copied from ggplot2:::label_variable, with addition of ` Copied here since CRAN does not like use of `:::`.

Usage

ggplot2_label_variable(labels, multi_line = TRUE)

Arguments

labels

Data frame of labels. Usually contains only one element, but faceting over multiple factors entails multiple label variables.

multi_line

Whether to display the labels of multiple factors on separate lines.