Learn R Programming

edeaR (version 0.8.6)

filter_case: title Filter: Case

Description

Filters the log based on case identifier

Usage

filter_case(eventlog, cases, reverse)

# S3 method for eventlog filter_case(eventlog, cases = NULL, reverse = FALSE)

# S3 method for grouped_eventlog filter_case(eventlog, cases = NULL, reverse = FALSE)

ifilter_case(eventlog)

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.

cases

A vector of cases identifiers

reverse

Logical, indicating whether the selection should be reversed.

Methods (by class)

  • eventlog: Filter for eventlogs

  • grouped_eventlog: Stratified filter for grouped eventlogs

Details

The method filter_case can be used to filter on case identifiers. It has an cases argument, to which a vector of identifiers can be given. The selection can be negated with the reverse argument.

See Also

vignette("filters", "edeaR")