CommencerCommencer gratuitement

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 active
  • idle_time() measures the time a person is idle
  • throughput_time() measures the total time between first and last reported event

Cet exercice fait partie du cours

Business Process Analytics in R

Afficher le cours

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 %>% 
  ___(___, ___)
Modifier et exécuter le code