precedence_matrix: Precendence Matrix

Description Usage Arguments Examples

Description

Construct a precendence matrix, showing how activities are followed by each other.

Usage

1
2
precedence_matrix(eventlog, type = c("absolute", "relative",
  "relative-antecedent", "relative-consequent", "relative-case"))

Arguments

eventlog

The event log object to be used

type

The type of precedence matrix, which can be absolulte, relative, relative-antecedent or relative-consequent. Absolute will return a matrix with absolute frequencies, relative will return global relative frequencies for all antecedent-consequent pairs. Relative-antecedent will return relative frequencies within each antecendent, i.e. showing the relative proportion of consequents within each antecedent. Relative-consequent will do the reverse.

Examples

1
2
3
4
5
6
## Not run: 
library(eventdataR)
data(patients)
precedence_matrix(patients)

## End(Not run)

gertjanssenswillen/processmapR documentation built on June 15, 2019, 2:46 p.m.