powered by
Summary method for the crtree function
# S3 method for crtree summary(object, prn = TRUE, cptab = FALSE, modsum = FALSE, ...)
Return value from crtree
crtree
Print tree in text form
Print the cp table
Print the model summary
further arguments passed to or from other methods
See https://radiant-rstats.github.io/docs/model/crtree.html for an example in Radiant
crtree to generate results
plot.crtree to plot results
plot.crtree
predict.crtree for prediction
predict.crtree
# NOT RUN { result <- crtree(titanic, "survived", c("pclass", "sex"), lev = "Yes") summary(result) result <- crtree(diamonds, "price", c("carat", "color"), type = "regression") summary(result) # }
Run the code above in your browser using DataLab