Learn R Programming

fdm2id (version 0.9.5)

cartinfo: CART information

Description

Return various information on a CART model.

Usage

cartinfo(model)

Arguments

model

The decision tree.

Value

Various information organized into a vector.

See Also

CART, cartdepth, cartleafs, cartnodes, cartplot

Examples

Run this code
# NOT RUN {
require (datasets)
data (iris)
model = CART (iris [, -5], iris [, 5])
cartinfo (model)
# }

Run the code above in your browser using DataLab