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
log
: Object of classlog
or derivatives (grouped_log
,eventlog
,activitylog
, etc.).- 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 logresource_matrix(activitylog)
: Resource matrix of activity log
Examples
if (FALSE) { # \dontrun{
library(eventdataR)
data(patients)
precedence_matrix(patients)
} # }