Learn R Programming

edeaR (version 0.6.0)

filter_precedence: Filter: precedence relations

Description

Filters cases based on the precedence relations between two sets of activities: antecedents and consequent. The filter can detect directly following activities as well as eventually following activites.

Usage

filter_precedence(eventlog, antecedents, consequents,
  precedence_type = c("directly_follows", "eventually_follows"),
  filter_method = c("each", "one_of"), reverse = F)

ifilter_precedence(eventlog)

Arguments

eventlog

The event log to be used. An object of class eventlog.

antecedents, consequents

The set of antecendent and consequent activities. All pairs of antecedents and consequents are checked for.

precedence_type

When directly_follows, the consequent activity should happen immediately after the antecedent activities. When eventually_follows, other events are allowed to happen in between.

filter_method

When each, only cases where all the relations are valid are preserved. When one_of, all the cases where at least one of the conditions hold are preserved.

reverse

A logical parameter depicting whether the selection should be reversed.