Partition the test set based on a trained tree
.partition(x1, x2, x3, x4, x5, x6)
x1
: the tree component of the REmrt objectx2
: the moderators in the test setx3
: indicates whether a moderator is numeric or notx4
: the index vector of the spliting moderatorsx5
: the list of split pointsx6
: the moderators in the training setUseful links