r – recursively split a dataframe with partykit::lmtree as a stump tree
I am trying to recursively split my data using a stump tree based on the lmtree function from the partykitlibrary. The idea is the following: [1] for each variable of interest run and lmtree with a depth of 2, store the regression model’s results and splitting rules. [2] for each subset of data created from … Read more