filter_resource_frequency: Filter: Activity frequency

Description Usage Arguments Value Methods (by class) See Also

View source: R/filter_resource_frequency.R

Description

Filters the log based on frequency of activities

Filtering the event log based in resource frequency can be done in two ways: using an interval of allowed frequencies, or specify a coverage percentage.

Usage

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

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

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

ifilter_resource_frequency(eventlog)

Arguments

eventlog

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

interval

An resource frequency interval (numeric vector of length 2). Half open interval can be created using NA.

percentage

The target coverage of activity instances. A percentile of 0.9 will return the most common resource types of the eventlog, which account for at least 90% of the activity instances.

reverse

Logical, indicating whether the selection should be reversed.

...

Deprecated arguments.

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.