Filters cases where the first and/or last activity adhere to the specified conditions
filter_endpoints_conditions(
eventlog,
start_condition,
end_condition,
reverse,
...
)
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.
The dataset to be used. Should be a (grouped) eventlog object.
A logical condition
A logical condition
Logical, indicating whether the selection should be reversed.
Deprecated arguments.
The filter_endpoints method filters cases based on the first and last activity label. It can be used in two ways: by specifying vectors with allowed start activities and/or allowed end activities, or by specifying a percentile. In the latter case, the percentile value will be used as a cut off. For example, when set to 0.9, it will select the most common endpoint pairs which together cover at least 90
vignette("filters", "edeaR")