summary.crtree: Summary method for the crtree function

Description Usage Arguments Details See Also Examples

View source: R/crtree.R

Description

Summary method for the crtree function

Usage

1
2
3
## S3 method for class 'crtree'
summary(object, prn = TRUE, cptab = FALSE,
  modsum = FALSE, ...)

Arguments

object

Return value from crtree

prn

Print tree in text form

cptab

Print the cp table

modsum

Print the model summary

...

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

1
2
3
4
result <- crtree(titanic, "survived", c("pclass", "sex"), lev = "Yes")
summary(result)
result <- crtree(diamonds, "price", c("carat", "color"), type = "regression")
summary(result)

radiant-rstats/radiant.model documentation built on Nov. 13, 2018, 7 a.m.