precedence_matrix_absolute {heuristicsmineR} | R Documentation |
Precedence Matrix
Description
Construct a precedence matrix, showing how activities are followed by each other.
This function computes the precedence matrix directly in C++ for efficiency.
Only the type absolute
of (precedence_matrix
) is supported.
Usage
precedence_matrix_absolute(eventlog, lead = 1)
Arguments
eventlog |
The event log object to be used. |
lead |
The distance between activities following/preceding each other. |
Examples
library(eventdataR)
data(traffic_fines)
m <- precedence_matrix_absolute(traffic_fines)
print(m)
as.matrix(m)
[Package heuristicsmineR version 0.3.0 Index]