trvs: Make traversal from vector binary tree

Description Usage Arguments Value Examples

View source: R/trvs.R

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

1
trvs(x)

Arguments

x

A vector binary tree.

Value

Return a traversal table from the given vector binary tree.

Examples

1
2
3
4
5
#Make vector binary tree:
colnamevbt <- dl2vbt(chrvec2dl(colnames(datatest)))

#Construct traversal table:
trvs(colnamevbt)

VBTree documentation built on May 2, 2019, 12:39 p.m.