Learn R Programming

VBTree (version 0.1.1)

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)

Value

Return a traversal table from the given vector binary tree.

Arguments

x

A vector binary tree.

Examples

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

#Construct traversal table:
trvs(colnamevbt)

Run the code above in your browser using DataLab