plot_tree: CAT decision tree plot

Description Usage Arguments Value Author(s)

View source: R/plot_tree.R

Description

Generates a plot object to visualize the CAT decision tree

Usage

1
plot_tree(object, levels = 3, tree = 1)

Arguments

object

A cat.dt object

levels

Number of levels to plot, starting from the first one.

tree

Index of tree to plot. The total number of trees is given by length(nodes$nodes[[1]]).

Value

A ggplot2 object

Author(s)

Javier Rodr?guez-Cuadrado


cat.dt documentation built on March 31, 2021, 5:07 p.m.