Learn R Programming

radiant.model (version 0.8.0)

summary.crtree: Summary method for the crtree function

Description

Summary method for the crtree function

Usage

# S3 method for crtree
summary(object, prn = TRUE, ...)

Arguments

object

Return value from crtree

prn

Print tree in text form

...

further arguments passed to or from other methods

Details

See https://radiant-rstats.github.io/docs/model/crtree.html for an example in Radiant

See Also

crtree to generate results

plot.crtree to plot results

predict.crtree for prediction

Examples

Run this code
# 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