Depth
Return the dept of a decision tree.
cartdepth(model)
model
The decision tree.
The depth.
CART, cartinfo, cartleafs, cartnodes, cartplot
CART
cartinfo
cartleafs
cartnodes
cartplot
require (datasets) data (iris) model = CART (iris [, -5], iris [, 5]) cartdepth (model)
Data Mining and R Programming for Beginners
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.