Learn R Programming

logicDT (version 1.0.5)

getDesignMatrix: Design matrix for the set of conjunctions

Description

Transform the original predictor matrix X into the conjunction design matrix which contains for each conjunction a corresponding column.

Usage

getDesignMatrix(X, disj)

Value

The transformed design matrix.

Arguments

X

The original (binary) predictor matrix. This has to be of type integer.

disj

The conjunction matrix which can, e.g., be extracted from a fitted logicDT model via $disj.