Generalized text display
Arguments
- data
data set using
- mapping
aesthetics being used
- text_fn
function that takes in
xandyand returns a text string- title
title text to be displayed
- na.rm
logical value which determines if
NAvalues are removed. IfTRUE, no warning message will be displayed.- display_grid
if
TRUE, display aligned panel grid lines. IfFALSE(default), display a thin panel border.- justify_labels
justifyargument supplied whenformatting the labels- justify_text
justifyargument supplied whenformatting the returnedtext_fn(x, y)values- sep
separation value to be placed between the labels and text
- family
font family used when displaying all text. This value will be set in
title_argsorgroup_argsif nofamilyvalue exists. By using"mono", groups will align with each other.- title_args
arguments being supplied to the title's
geom_text()- group_args
arguments being supplied to the split-by-color group's
geom_text()- align_percent
relative align position of the text. When
title_hjust = 0.5andgroup_hjust = 0.5, this should not be needed to be set.- title_hjust, group_hjust
hjustsent togeom_text()for the title and group values respectively. Anyhjustvalue supplied intitle_argsorgroup_argswill take precedence.