Learn R Programming

edeaR (version 0.8.6)

filter_case_condition: title Filter: Case

Description

Filters cases using a condition

Usage

filter_case_condition(eventlog, condition, reverse)

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.

condition

A condition

reverse

Logical, indicating whether the selection should be reversed.

Details

Only keeps cases if the condition is valid for at least one event.

See Also

vignette("filters", "edeaR")