The code below allows me to see which e-learning module is accessed per day.
activity_per_day_which_modules <- ddply(activity, ~Date, distinct, `Which module(s)` = Module)
The output is as follows:
Date | Module |
---|---|
22-10-2021 | Food chemistry |
22-10-2021 | Food Physics |
How do I tell R to combine the rows into one?
Date | Module |
---|---|
22-10-2021 | Food chemistry, Food physics |
23-10-2021 | Food chemistry |