Learn R Programming

LearnSL (version 1.0.0)

print.tree_struct: Print Tree Structure

Description

This function prints the structure of a tree, generated by the decision_tree function.

Usage

# S3 method for tree_struct
print(x, ...)

Value

nothing.

Arguments

x

The tree structure.

...

Extra useless parameters.

Author

Víctor Amador Padilla, victor.amador@edu.uah.es

Details

It must receive a tree_struct data type.

Examples

Run this code
# example code
print(db_tree_struct)

Run the code above in your browser using DataLab