Learn R Programming

edeaR (version 0.8.3)

filter_lifecycle: Filter: Life cycle

Description

Filters the log based on the life cycle id

Usage

filter_lifecycle(eventlog, lifecycle, reverse, ...)

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

# S3 method for 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.

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)

  • eventlog: Filter eventlog on life cycle labels

  • grouped_eventlog: Filter grouped eventlog on life cycle labels

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.

See Also

vignette("filters", "edeaR")