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