filter_trace_frequency: Filter: Trace frequency

Description Usage Arguments Details Value Methods (by class) See Also

View source: R/filter_trace_frequency.R

Description

Filters the log based the frequency of traces, using an interval or a percentile cut off.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
filter_trace_frequency(eventlog, interval, percentage, reverse, ...)

## S3 method for class 'eventlog'
filter_trace_frequency(eventlog, interval = NULL,
  percentage = NULL, reverse = FALSE, ...)

## S3 method for class 'grouped_eventlog'
filter_trace_frequency(eventlog,
  interval = NULL, percentage = NULL, reverse = FALSE, ...)

ifilter_trace_frequency(eventlog)

Arguments

eventlog

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

interval

WHen given an interval, the filter will select cases of which the trace has a frequency inside the interval.

percentage

When given a percentage p, the filter will select the most common traces, until at least p% of the cases is covered.

reverse

Logical, indicating whether the selection should be reversed.

...

Deprecated arguments.

Details

This filter can be used to filter cases based on the frequency of the corresponding trace. A trace is a sequence of activity labels, and will be discussed in more detail in Section 6. There are again two ways to select cases based on trace frequency, by interval or by percentile cut off. The percentile cut off will start with the most frequent traces.

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.

Methods (by class)

See Also

vignette("filters", "edeaR")


gertjanssenswillen/edeaR documentation built on July 22, 2019, 7:08 p.m.