dl2ts | R Documentation |
Convert a double list to a tensor. The pure numeric layers will be sorted intrinsically then all elements will be bound in certain order as one character element, and filled into the proper location in the tensor.
dl2ts(x)
x |
A double list to be converted. |
Return a tensor filled with the binding character elements.
dl2vbt
, dl2arr
.
#Make column names of datatest into double list:
dl <- chrvec2dl(colnames(datatest), "-")
#Convert the double list to a tensor:
dl2ts(dl)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.