summary.crtree | R Documentation |
Summary method for the crtree function
## S3 method for class 'crtree'
summary(object, prn = TRUE, splits = FALSE, cptab = FALSE, modsum = FALSE, ...)
object |
Return value from |
prn |
Print tree in text form |
splits |
Print the tree splitting metrics used |
cptab |
Print the cp table |
modsum |
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
predict.crtree
for prediction
result <- crtree(titanic, "survived", c("pclass", "sex"), lev = "Yes")
summary(result)
result <- crtree(diamonds, "price", c("carat", "color"), type = "regression")
summary(result)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.