How does R handle multiple answers for questions such as:
What are your favourite animals? (Tick all that apply)
Possible Answers:
(A) Dolphin
(B) Lion
(C) Cat
(D) Dog
If I was trying to measure the relationship between life happiness and favourite animals and wanted to get a frequency distribution table for this data set, what would I code?
print(data)