Description Usage Arguments Value Author(s) Examples
Short the names from a template. The merging GUI is designed to merge data from different files. But sometimes the file names are too long to be displayed in the GUI. Hence this function is used to short the basenames by removing the same beginning letters of each name. Hence the output is a character vector whose elements will not start with the same letter.
1 | simplifynames(namevector)
|
namevector |
A character vector. |
A character vector which cuts the first several same letters from the input.
Xiaoyue Cheng <xycheng@iastate.edu>
1 2 3 | simplifynames(c("abc234efg.csv", "abc234hfg.csv"))
simplifynames(c("12345", "54321"))
simplifynames(c("aeiou", "aerial"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.