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
Cet exercice fait partie du cours
Business Process Analytics in R
Instructions
- 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?
Exercice interactif pratique
Essayez cet exercice en complétant cet exemple de code.
# Time per activity
daily_activities %>%
___(level = "___") %>%
plot()
# Average duration of recordings
daily_activities %>%
___(___, units = "hours")
# Missing activities
daily_activities %>%
___(___, ___)