create_nodes {forestry}R Documentation

create a tree with assigned name, children and fields

Description

create a tree with assigned name, children and fields

Usage

create_nodes(tree_name, add_children_count, ...)

Arguments

tree_name

assign name of tree

add_children_count

assign number of chidren to this tree

...

parameters that will be passed as fields of this tree

Value

a tree with assigned name, children and fields

Examples

create_nodes(tree_name = "tree1", add_children_count = 3, class = c("A", "B", "C"))

[Package forestry version 0.1.1 Index]