# a configuration matrix with three bivalent condition variables
noflevels <- rep(2, 3)
createMatrix(noflevels)
# with logical values
createMatrix(noflevels, logical = TRUE)
# its implicant matrix ("-1" stands for an eliminated value)
createMatrix(noflevels + 1) - 1
# a configuration matrix (the second variable has three values)
noflevels <- c(2, 3, 2)
createMatrix(noflevels)
# its implicants matrix
createMatrix(noflevels + 1) - 1
Run the code above in your browser using DataLab