ExtractCommonPrefix | R Documentation |
RemoveParentName
ExtractCommonPrefix
ExtractCommonPrefix(labels)
labels |
A vector of labels from which we plan to extract a common prefix. |
Returns the common prefix of a vector of labels.
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.