Internal function called by pimp.import to construct a binary/logical matrix
representing which predictors (columns) are used in each interaction (rows) of a sample.
pimp.mat.bin(pimps.out, testdata)A list with the following components:
Vector of predictor names.
Logical matrix indicating which predictors (columns) are used in each interaction (rows).
R object containing vec.primes, tmp.mat, vec.pimpvars, and list.pimps.
Data frame or matrix of out-of-bag (OOB) samples.
Bethany J. Wolf wolfb@musc.edu
Note: For regression models, see pimp.mat.nonbin which accommodates 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