Skip to contents

Model fitting

chaid()
Fit a CHAID or Exhaustive CHAID decision tree
chaid_control()
Control parameters for CHAID tree growing

Prediction and methods

predict(<chaid>)
Predict from a fitted CHAID tree
print(<chaid>) summary(<chaid>)
Print and summarise a CHAID tree

Tree inspection

chaid_rules()
Extract decision rules from a CHAID tree
chaid_table()
Summary table of CHAID terminal nodes
chaid_importance()
Heuristic variable importance for a CHAID tree

Evaluation

chaid_gains() print(<chaid_gains>) plot(<chaid_gains>)
Gains and lift table for a CHAID tree
chaid_validate() print(<chaid_validation>)
Evaluate a CHAID tree on holdout data

Visualization

plot(<chaid>)
Plot a CHAID tree with base graphics
chaid_dot() print(<chaid_dot>) chaid_graphviz()
Render a CHAID tree as Graphviz DOT
chaid_plotly()
Interactive CHAID tree plot with plotly

Interoperability

chaid_as_party() as.party(<chaid>)
Convert a CHAID tree to a partykit constparty