Description Usage Arguments Value Examples
View source: R/myBasicFunctions.R
Simplify a vector of names removing the common end
1 | simplifiedNamesByEnd(vecOfNames)
|
vecOfNames |
a vector with different names to simplify |
a vector with the same length as vecOfNames
where the end of the names were removed if they were identicals.
1 2 | vecOfNames <- c("beautiful", "useful", "painful")
simplifiedNamesByEnd(vecOfNames)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.