getDesignMatrix: Design matrix for the set of conjunctions

View source: R/logicDT.R

getDesignMatrixR Documentation

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)

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.

Value

The transformed design matrix.


logicDT documentation built on Jan. 14, 2023, 5:06 p.m.