vbt2dl {VBTree}R Documentation

Convert a vector binary tree to double list

Description

Recover a vector binary tree to double list for easy visualization. Empty layers in vector binary tree will be marked by the symbol "*" as default.

Usage

vbt2dl(x)

Arguments

x

A vector binary tree to be converted.

Value

Return a double list based on input vector binary tree.

See Also

vbtinq, vbtsub, advbtinq, advbtsub, trvssubinq, vbt2ts, vbt2arr.

Examples

#Recover vector binary tree to a double list for easy visualization:
vbt <- dl2vbt(chrvec2dl(colnames(datatest))) #make vector binary tree
vbt2dl(vbt)

[Package VBTree version 0.1.1 Index]