Specialization of resources
In the following exercises, we will look at the employees working in a hospital which are treating patients with Sepsis, a life-threatening condition caused by an infection. Treating these patients is of the utmost importance. Let's see how tasks are divided. The event data is preloaded and called sepsis.
Firstly, we will calculate some process metrics. A process metric is a function which quantifies a certain aspect of the process, like resource_frequency(). It can do this at different levels of granularity, of which there are 6 possibilities in total: "log", "case", "trace", "activity", "resource", and "resource-activity".
There are 3 different metrics relevant for resources: In this exercise we will look at resource frequency.
This exercise is part of the course
Business Process Analytics in R
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Calculate frequency of resources
frequencies_of_resources <- ___
# See the result
frequencies_of_resources
# See the result as a plot
plot(frequencies_of_resources)