CreateRandomTree: Create a tree for demo and testing

View source: R/util.R

CreateRandomTreeR Documentation

Create a tree for demo and testing

Description

Create a tree for demo and testing

Usage

CreateRandomTree(nodes = 100, root = Node$new("1"), id = 1)

Arguments

nodes

The number of nodes to create

root

the previous node (for recursion, typically use default value)

id

The id (for recursion)


data.tree documentation built on Nov. 13, 2023, 1:08 a.m.