Learn R Programming

fdm2id (version 0.9.9)

cartinfo: CART information

Description

Return various information on a CART model.

Usage

cartinfo(model)

Value

Various information organized into a vector.

Arguments

model

The decision tree.

See Also

CART, cartdepth, cartleafs, cartnodes, cartplot

Examples

Run this code
require (datasets)
data (iris)
model = CART (iris [, -5], iris [, 5])
cartinfo (model)

Run the code above in your browser using DataLab