ts2dl: Convert a structured character tensor to double list
Description
Convert a structured character tensor to a double list. All character elements in tensor will be splited by
a specific pattern then sorted intrinsically in each layer of the double list.
# NOT RUN {#Write the column names of datatest into a tensor:ts <- dl2ts(chrvec2dl(colnames(datatest)))
#Recover the double list from character tensor:ts2dl(ts)
# }