Displays CP table for Fitted Arbor Object

USAGE:

printcp(x, digits=.Options$digits - 2)

REQUIRED ARGUMENTS:

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

OPTIONAL ARGUMENTS:

digits
the number of digits of numbers to print.

DETAILS:

Prints a table of optimal prunings based on a complexity parameter.

SEE ALSO:

,

EXAMPLES:

set.seed(1234)
z.auto <- arbor(Mileage ~ Weight, car.test.frame)
printcp(z.auto)