Eat, sleep, repeat
Now the subjects were also asked to record other activities: washing, sleeping, watching tv, etc. These can be found in the dataset daily_activities.
Use the three available performance metrics to solve the questions below.
processing_time()measures the time a person is activeidle_time()measures the time a person is idlethroughput_time()measures the total time between first and last reported event
Diese Übung ist Teil des Kurses
Business Process Analytics in R
Anleitung zur Übung
- Which of the activities uses the most time? And which the least? Show graphically after using the processing time metric.
- What is the average duration (in hours) on which data is reported, i.e. from the first activity a person executes until the last activity of that person?
- Not all subjects recorded their activities continuously. What is the amount of time per subject (on average, in hours) of which the activities were idle?
Interaktive Übung
Vervollständige den Beispielcode, um diese Übung erfolgreich abzuschließen.
# Time per activity
daily_activities %>%
___(level = "___") %>%
plot()
# Average duration of recordings
daily_activities %>%
___(___, units = "hours")
# Missing activities
daily_activities %>%
___(___, ___)