# three conditions with two levels each
noflevels <- c(2, 2, 2)
# row number 14 of the implicant matrix corresponding to the configuration
# containing the first level of all condition
getRow(noflevels = noflevels + 1, row.no = 14) - 1
# the row numbers of the implicant matrix which correspond to supersets of this
# configuration
(rows <- findSupersets(noflevels + 1, input.combs = 14))
# the corresponding matrix representation of these rows
getRow(noflevels = noflevels + 1, row.no = rows) - 1
# now for row numbers 14 and 17
getRow(noflevels = noflevels + 1, row.no = c(14, 17)) - 1
(rows <- findSupersets(noflevels + 1, input.combs = c(14, 17)))
getRow(noflevels = noflevels + 1, row.no = rows) - 1
# in matrix representation
(input.combs <- getRow(noflevels + 1, row.no = c(14, 17)))
findSupersets(noflevels + 1, input.combs = input.combs)
Run the code above in your browser using DataLab