node_print {GE}R 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)



[Package GE version 0.4.4 Index]