powered by
Structurize a character vector to a double list. Layers in the double list will be determined by the given pattern.
chrvec2dl(x, splt = "-")
return a character double list splited by defined pattern, the default pattern is "-".
a character vector to be converted.
a string pattern to make defination for spliting each layer of double list.
#example using default dataset: charvector <- colnames(datatest) chrvec2dl(charvector, "-")
Run the code above in your browser using DataLab