Filters the log based the frequency of traces, using an interval or a percentile cut off.

filter_trace_frequency(eventlog, interval, percentage, reverse, ...)

# S3 method for eventlog
filter_trace_frequency(eventlog, interval = NULL,
  percentage = NULL, reverse = FALSE, ...)

# S3 method for grouped_eventlog
filter_trace_frequency(eventlog, interval = NULL,
  percentage = NULL, reverse = FALSE, ...)




The dataset to be used. Should be a (grouped) eventlog object.


WHen given an interval, the filter will select cases of which the trace has a frequency inside the interval.


When given a percentage p, the filter will select the most common traces, until at least p% of the cases is covered.


Logical, indicating whether the selection should be reversed.


Deprecated arguments.


When given an eventlog, it will return a filtered eventlog. When given a grouped eventlog, the filter will be applied in a stratified way (i.e. each separately for each group). The returned eventlog will be grouped on the same variables as the original event log.


This filter can be used to filter cases based on the frequency of the corresponding trace. A trace is a sequence of activity labels, and will be discussed in more detail in Section 6. There are again two ways to select cases based on trace frequency, by interval or by percentile cut off. The percentile cut off will start with the most frequent traces.

Methods (by class)

  • eventlog: Filter event log

  • grouped_eventlog: Filter grouped event log

See also