ExtractCommonPrefixFromLabels | R Documentation |
Returns the common prefix of a vector of labels.
ExtractCommonPrefixFromLabels(data, tidy = TRUE)
data |
data containing labels; see |
tidy |
logical; if |
A list with components
common.prefix
- The common prefix shared among the labels,
or NA
if none exists
shortened.labels
- vector of labels with the common prefix removed.
ExtractCommonPrefix
, Labels
, TidyLabels
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.