precedence_matrix_absolute: Precedence Matrix

View source: R/precedence_matrix_absolute.R

precedence_matrix_absoluteR 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)


heuristicsmineR documentation built on April 4, 2023, 5:11 p.m.