printcp
Displays CP table for Fitted Arbor Object

Description

Displays the CP table for a fitted arbor object.

Usage

printcp(x, digits = getOption("digits") - 2)

Arguments

x a fitted model object of class arbor. This model is assumed to be the result of a function that produces an object with the same named components as that returned by the arbor function.
digits the number of digits of numbers to print.

Details

Prints a table of optimal prunings based on a complexity parameter.
See Also
summary.arbor, arbor.object
Examples
library("arbor")
data(car.test.frame, package = "Sdatasets")
z.auto <- arbor(Mileage ~ Weight, car.test.frame)
printcp(z.auto)
Package arbor version 6.1.4-13
Package Index