Get startedGet started for free

Precedence matrix

The precedence matrix shows the flows from one activity to another in a rectangular format. The precedence_matrix() function returns a data frame, which can be visualized in an actual grid using the plot() function.

eventlog %>% precedence_matrix(type = "___") %>% plot()

There are four different types of values:

  • The overall "absolute" frequency.
  • The overall "relative" frequency.
  • The "relative-antecedent" frequency, e.g. A is x% of time followed by B.
  • The "relative-consequent" frequency, e.g. C is x% of time preceded by D.

Find out which statement about the sepsis process is correct.

This exercise is part of the course

Business Process Analytics in R

View Course

Hands-on interactive exercise

Turn theory into action with one of our interactive exercises

Start Exercise