node_print: Print a Tree and Its Fields

View source: R/node_print.R

node_printR Documentation

Print a Tree and Its Fields

Description

A wrapper of the function print.Node of the package data.tree. Print a tree and its fields except the func field.

Usage

node_print(node, ...)

Arguments

node

a Node object.

...

arguments passed to print.Node.

Examples


dst <- node_new("firm",
                type = "SCES",
                alpha = 2, beta = c(0.8, 0.2),
                es = 0.5,
                "wheat", "iron"
)

node_print(dst)

####
dst <- node_new("firm",
                type = "FUNC",
                func = min,
                "wheat", "iron"
)

node_print(dst)



GE documentation built on Nov. 8, 2023, 9:07 a.m.

Related to node_print in GE...