Filters the log based the frequency of traces, using an upper and lower threshold or a percentile cut off.
filter_trace_frequency(eventlog, lower_threshold = NULL,
upper_threshold = NULL, percentile_cut_off = NULL, reverse = F)ifilter_trace_frequency(eventlog)
The event log to be used. An object of class
eventlog
.
The lower frequency threshold.
When reverse
is FALSE, all traces with a lower frequency are discarded.
The upper frequency threshold.
When reverse
is FALSE, all traces with a higher frequency are discarded.
Alternatively to providing thresholds, a percentile cut off can be provided.
A percentile cut off value of 0.9 will return the most common traces, accounting for 90% of the cases.
When reverse
is set to TRUE, it will return the least common traces, acoounting for 10% of the cases.
A logical parameter depicting whether the selection should be reversed.