label_vpc_tte: Custom ggplot2 labeller function.

label_vpc_tteR Documentation

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.


ronkeizer/vpc documentation built on May 11, 2023, 11:09 p.m.