dl2arr: Convert a double list to array

View source: R/dlCvrt.R

dl2arrR Documentation

Convert a double list to array

Description

Convert a double list to an array. 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 array.

Usage

dl2arr(x)

Arguments

x

A double list to be converted.

Value

Return an array filled with the binding character elements.

See Also

dl2vbt, dl2ts.

Examples

#Make column names of datatest into double list:
dl <- chrvec2dl(colnames(datatest), "-")

#Convert the double list to a tensor:
dl2arr(dl)

CubicZebra/VBTree documentation built on Feb. 3, 2024, 3:42 p.m.