plot_tree {cat.dt}R Documentation

CAT decision tree plot

Description

Generates a plot object to visualize the CAT decision tree

Usage

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


[Package cat.dt version 0.3.1 Index]