Introduction
The main function is citree::runCtree(), which is a
wrapper of partykit::ctree()
with addition functions:
-
partykit::ctree()only produces the best separation at each node, i.e. one tree. By settingrecursive = Tincitree::runCtree(), all trees meeting p-val cutoff are produced and saved. Each round of recursion is done by removing the 1st splitting variable from the input data.frame and runningrunCtree(); the recursion stops if no splitting variable is found. - The info and stats of each node of each tree are collected and summarized in an excel file, which also contains ULRs to each tree.
- Before running
partykit::ctree(), low-informative columns and rows are removed to reduce computation and adjustment on association p-vals
Note: