Learn R Programming

VBTree (version 0.1.0)

trvs: Make traversal from vector binary tree

Description

Generating a table of traversal from given vector binary tree, in order to construct correct mapping relationships within double list, vector binary tree, array and tensor.

Usage

trvs(x)

Arguments

x

A vector binary tree.

Value

Return a traversal table from the given vector binary tree.

Examples

Run this code
# NOT RUN {
#Make vector binary tree:
colnamevbt <- dl2vbt(chrvec2dl(colnames(datatest)))

#Construct traversal table:
trvs(colnamevbt)
# }

Run the code above in your browser using DataLab