filter_lifecycle: Filter: Life cycle

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

View source: R/filter_lifecycle.R

Description

Filters the log based on the life cycle id

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
filter_lifecycle(eventlog, lifecycle, reverse, ...)

## S3 method for class 'eventlog'
filter_lifecycle(eventlog, lifecycle, reverse = FALSE,
  ...)

## S3 method for class 'grouped_eventlog'
filter_lifecycle(eventlog, lifecycle,
  reverse = FALSE, ...)

ifilter_lifecycle(eventlog)

Arguments

eventlog

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

lifecycle

Character vector containing one or more life cycle identifiers.

reverse

Logical, indicating whether the selection should be reversed.

...

Deprecated arguments.

Details

The method filter_lifecycle can be used to filter on life cycle identifiers. It has an lifecycle argument, to which a vector of identifiers can be given. The selection can be negated with the reverse argument.

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.