View source: R/resource_matrix.R
resource_matrix | R Documentation |
Construct a resource matrix, showing how work is handed over
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()
)
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 |
resource_matrix(eventlog)
: Resource matrix of event log
resource_matrix(activitylog)
: Resource matrix of activity log
## Not run:
library(eventdataR)
data(patients)
precedence_matrix(patients)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.