Learn R Programming

edeaR (version 0.4.4)

filter_trim: Filter: Trim cases

Description

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.

Usage

filter_trim(eventlog, start_activities = NULL, end_activities = NULL, reverse = F)

Arguments

eventlog
The event log to be used. An object of class eventlog.
start_activities
Start activities used for trimming. If not provided, the start of the cases is not trimmed.
end_activities
End activities used for trimming. If not provided, the end of the cases or not trimmed.
reverse
A logical parameter depicting whether the selection should be reversed.