dependency_matrix {heuristicsmineR} | R Documentation |
Create a dependency matrix
Description
Creates a dependency matrix from a precedence matrix (precedence_matrix
) based on different approaches.
Usage
dependency_matrix(
eventlog = NULL,
dependency_type = dependency_type_fhm(threshold_dependency = threshold,
threshold_frequency = threshold_frequency, ...),
threshold = 0.9,
threshold_frequency = 0,
...
)
Arguments
eventlog |
A bupaR event log, may be NULL when a precedence matrix is provided. |
dependency_type |
Which approach to use for calculation of the dependency matrix. Currently only ( |
threshold |
A dependency threshold, usually in the interval |
threshold_frequency |
An absolute frequency threshold filtering dependencies which are observed infrequently. |
... |
Parameters forwarded to ( |
Value
A square matrix with class dependency_matrix
containing the computed dependency values between all activities.
See Also
Examples
d <- dependency_matrix(L_heur_1)
print(d)
as.matrix(d)
[Package heuristicsmineR version 0.3.0 Index]