Get startedGet started for free

Control-flow deviations

Recall these two filtering methods introduced in the previous chapter:

  • filter_activity_presence: select cases where certain activities are (not) present
  • filter_trim: trim the heads and/or tails of cases, until they start with a specific start and/or end activity.

We will use these two filters to drill-down to specific control-flow patterns.

This exercise is part of the course

Business Process Analytics in R

View Course

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

# Create otc_returned
otc_returned <- otc %>% 
  ___
Edit and Run Code