
Last chance! 50% off unlimited learning
Sale ends in
DStree
object.
"summary"(object, cp = 0, digits = getOption("digits"), file, ...)
"DStree"
. This is assumed to be the result
of some function that produces an object with the same named
components as that returned by the DStree
function.
cp
from the listing.
printcp
, the
variable importance (summing to 100) and details for each node.
summary
, DStree.object
, printcp
.
data(UnempDur)
tree <- DStree(spell~ui+age+tenure+logwage,status="censor1",data=UnempDur)
summary(tree)
Run the code above in your browser using DataLab