Filters cases on length, using a percentile threshold.
filter_trace_length(eventlog, lower_threshold = NULL,
upper_threshold = NULL, percentile_cut_off = NULL, reverse = F)ifilter_trace_length(eventlog)
The event log to be used. An object of class
eventlog
.
The lower trace length threshold.
When reverse
is FALSE, all traces with a lower frequency are discarded.
The upper trace length threshold.
When reverse
is FALSE, all traces with a lo 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 90% shortest cases.
When reverse
is set to TRUE, it will return the 10% longest cases.
A logical parameter depicting whether the selection should be reversed.