A function to fit the tree with look-ahead option
REmrt_GS_(mf, maxL, minbucket, minsplit, cp, lookahead)
mf
: the data.frame to grow the treemaxL
: the maximum number of splitsminbucket
: the minimum number of the studies in a terminal nodeminsplit
: the minimal number of studies in a parent node to be splitcp
: the stopping rule for decrease of between-subgroups Q. Any split that does not decrease the between-subgroups Q is not attempted.lookahead
: an argument indicating whether to apply the "look-ahead" strategy when fitting the treea list including a tree, the split points, the data, and the nodes after each split
Useful links