Displays the cp
table for fitted rpart
object.
printcp(x, digits = getOption("digits") - 2)
fitted model object of class "rpart"
. This is assumed to be the result
of some function that produces an object with the same named
components as that returned by the rpart
function.
the number of digits of numbers to print.
Prints a table of optimal prunings based on a complexity parameter.
summary.rpart
, rpart.object