powered by
Return various information on a CART model.
cartinfo(model)
The decision tree.
Various information organized into a vector.
CART, cartdepth, cartleafs, cartnodes, cartplot
CART
cartdepth
cartleafs
cartnodes
cartplot
# NOT RUN { require (datasets) data (iris) model = CART (iris [, -5], iris [, 5]) cartinfo (model) # }
Run the code above in your browser using DataLab