arr2dl | R Documentation |
Convert a structured character array to a double list. All character elements in array will be splited by a specific pattern then sorted intrinsically in each layer of the double list.
arr2dl(x, ...)
x |
A structured character array to be converted. |
... |
Argument in |
Return a double list based on the input array.
arr2vbt
, chrvec2dl
.
#Write the column names of datatest into a array:
arr <- dl2arr(chrvec2dl(colnames(datatest)))
#Recover the double list from character array:
arr2dl(arr)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.