Report question

Question: How to count the number of combinations of boolean data in R