ts2dl | R Documentation |
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.
ts2dl(x, ...)
x |
A structured character tensor to be converted. |
... |
Argument in |
Return a double list based on the input tensor.
ts2vbt
, chrvec2dl
.
#Write the column names of datatest into a tensor:
ts <- dl2ts(chrvec2dl(colnames(datatest)))
#Recover the double list from character tensor:
ts2dl(ts)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.