Exercise

Eating habits

A group of 24 people was asked to record its eating activities for a short amount of time. In total, seven different activities were defined:

  • preparing and eating breakfast
  • preparing and eating lunch
  • preparing and eating dinner
  • eating a snack

Let's have a look at the time aspect of this eating process, for which the data is available in the eat_patterns object.

Instructions

100 XP
  • To which meal did the subjects dedicate the most time? Draw a process map using the performance() profile, with median time intervals expressed in hours.
  • For each activity: does there exist a lot of variation in the active time spent? Use the processing_time() metric with the appropriate level and express in a plot.
  • Draw a dotted chart which places the activities along the time of day ("relative_day") and sorts cases based on their first activity ("start_day").