IniziaInizia gratis

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.

Questo esercizio fa parte del corso

Business Process Analytics in R

Visualizza il corso

Esercizio pratico interattivo

Prova a risolvere questo esercizio completando il codice di esempio.

# Calculate frequency of resources
frequencies_of_resources <- ___

# See the result
frequencies_of_resources

# See the result as a plot
plot(frequencies_of_resources)
Modifica ed esegui il codice