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