resource_matrix {processmapR} | R Documentation |
Resource Matrix
Description
Construct a resource matrix, showing how work is handed over
Usage
resource_matrix(log, type, eventlog = deprecated())
## S3 method for class 'eventlog'
resource_matrix(
log,
type = c("absolute", "relative", "relative-antecedent", "relative-consequent"),
eventlog = deprecated()
)
## S3 method for class 'activitylog'
resource_matrix(
log,
type = c("absolute", "relative", "relative-antecedent", "relative-consequent"),
eventlog = deprecated()
)
Arguments
log |
|
type |
The type of resource 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. |
eventlog |
Methods (by class)
-
resource_matrix(eventlog)
: Resource matrix of event log -
resource_matrix(activitylog)
: Resource matrix of activity log
Examples
## Not run:
library(eventdataR)
data(patients)
precedence_matrix(patients)
## End(Not run)
[Package processmapR version 0.5.4 Index]