Trim all cases from the first event of a set of start activities to the last event of a set of end activities. Traces that don't have at least one event of both sets are discarded.
filter_trim(eventlog, start_activities = NULL, end_activities = NULL,
reverse = F)ifilter_trim(eventlog)
The event log to be used. An object of class
eventlog
.
Start activities used for trimming. If not provided, the start of the cases is not trimmed.
End activities used for trimming. If not provided, the end of the cases or not trimmed.
A logical parameter depicting whether the selection should be reversed.