trvs {VBTree}R Documentation

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

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

#Construct traversal table:
trvs(colnamevbt)

[Package VBTree version 0.1.1 Index]