Learn R Programming

vpc (version 1.2.4)

label_vpc_tte: Custom ggplot2 labeller function.

Description

Slight rewrite of ggplot2::label_both, to make sure that labels for events are ordered appropriately when doing facet_wrap.

Usage

label_vpc_tte(labels, multi_line = TRUE, sep = ": ")

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.

sep

String separating variables and values.