Learn R Programming

edeaR (version 0.8.6)

filter_endpoints_conditions: Filter: Start and end conditions

Description

Filters cases where the first and/or last activity adhere to the specified conditions

Usage

filter_endpoints_conditions(
  eventlog,
  start_condition,
  end_condition,
  reverse,
  ...
)

Value

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.

Arguments

eventlog

The dataset to be used. Should be a (grouped) eventlog object.

start_condition

A logical condition

end_condition

A logical condition

reverse

Logical, indicating whether the selection should be reversed.

...

Deprecated arguments.

Details

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

See Also

vignette("filters", "edeaR")