printcp.RdDisplays the cp table for fitted rpart object.
printcp(x, digits = getOption("digits") - 2)
| x | fitted model object of class |
|---|---|
| digits | the number of digits of numbers to print. |
Prints a table of optimal prunings based on a complexity parameter.