# Example data.frame
exclDF <- data.frame(c(0, 1, 0, 0),
c(1, 0, 0, 1),
c(0, 0, 0, 0),
c(0, 1, 0, 0))
rownames(exclDF) <- colnames(exclDF) <- paste0("item_", 1:4)
# Create tuples
matrixExclusionTuples(exclDF)
Run the code above in your browser using DataLab