cartdepth | R Documentation |
Return the dept of a decision tree.
cartdepth(model)
model |
The decision tree. |
The depth.
CART
, cartinfo
, cartleafs
, cartnodes
, cartplot
require (datasets)
data (iris)
model = CART (iris [, -5], iris [, 5])
cartdepth (model)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.