Internal function called in pimp.import
to construct a binary/logical matrix of predictors used (columns) in each of the interactions of a sample (rows).
pimp.mat.bin(pimps.out, testdata)
A list with:
Vector of predictor names.
Logical matrix of predictors used (columns) in each of the interactions of a sample (rows).
R object containing vec.primes
, tmp.mat
, vec.pimpvars
, and list.pimps
.
Out-of-bag sample.
Bethany J. Wolf wolfb@musc.edu
NOTE: For regression models, pimp.mat.nonbin
is used to accommodate complements of logic trees.
Wolf BJ, Hill EG, Slate EH. Logic Forest: an ensemble classifier for discovering logical combinations of binary markers. Bioinformatics. 2010;26(17):2183-2189. tools:::Rd_expr_doi("10.1093/bioinformatics/btq354")
pimp.import