Description Usage Arguments Value
View source: R/filter_functions.R
Filters a vector of names and returns the shortest common prefix.
1 | filter_names(names, by = "[_():]|[^_():]*")
|
names |
The vector of names to filter. |
by |
A regexp that splits the string. The default filters by special characters. A split by character can be achieved by using "." as the regexp. |
The names shortened to the shortest prefix (in chunks defined by the regexp) where all names are unique.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.