trunc_labels {volker} | R Documentation |
Truncate labels that exceed a specified maximum length.
trunc_labels(x, max_length = 20)
x |
A character vector. |
max_length |
Maximum length, default is 20. The ellipsis "..." is appended to shortened labels. |
A character vector with truncated labels.