This function is called by prime.imp
. It is not intended to be used independently of this function.
TTab(data, tree, Xs, mtype)
No return value, called for side effects
Generates a matrix of binary predictor values corresponding to a prediction of one for a specific logic regression tree within a logic forest. Only those predictors included in the logic regression tree are included in the matrix.