resource_matrix: Resource Matrix

View source: R/resource_matrix.R

resource_matrixR 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

log: Object of class log 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

[Deprecated]; please use log instead.

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)


processmapR documentation built on Sept. 11, 2024, 8:08 p.m.