printcp
Displays CP table for Fitted Arbor Object
Usage
printcp(x, digits = getOption("digits") - 2)
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.
|
digits |
the number of digits of numbers to print.
|
Details
Prints a table of optimal prunings based on a complexity parameter.
See Also
Examples
library("arbor")
data(car.test.frame, package = "Sdatasets")
z.auto <- arbor(Mileage ~ Weight, car.test.frame)
printcp(z.auto)