powered by
Plot a decision tree obtained by CART.
cartplot(model, ...)
The decision tree.
Other parameters.
CART, cartdepth, cartinfo, cartleafs, cartnodes
CART
cartdepth
cartinfo
cartleafs
cartnodes
require (datasets) data (iris) model = CART (iris [, -5], iris [, 5]) cartplot (model)
Run the code above in your browser using DataLab