vbt2dl: Convert a vector binary tree to double list

Description Usage Arguments Value See Also Examples

View source: R/vbtCvrt.R

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

1
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

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

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