Retrieve basic process information
The event log patients
has been preloaded, which contains information about patients treated in a hospital in a given period. The cases of the process are individual patients and the medical and administrative actions which are performed in the hospital are the activities.
The function slice()
can be used to take a slice of cases out of the event data. slice(x, 1:10)
will select the first ten cases in the event log "x", where first is defined by the current ordering of the data.
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.
# How many patients are there?