Augment log with results from metric computation.
Usage
augment(metric, log, columns, prefix = "")
# S3 method for class 'log_metric'
augment(metric, log, columns, prefix = "")
# S3 method for class 'case_metric'
augment(metric, log, columns, prefix = "")
# S3 method for class 'activity_metric'
augment(metric, log, columns, prefix = "")
# S3 method for class 'resource_metric'
augment(metric, log, columns, prefix = "")
# S3 method for class 'resource_activity_metric'
augment(metric, log, columns, prefix = "")
# S3 method for class 'trace_metric'
augment(metric, log, columns, prefix = "")Arguments
- metric
Metric computed by edeaR
- log
log: Object of classlogor derivatives (grouped_log,eventlog,activitylog, etc.) that was used to compute themetric.- columns
charactervector: Column names from themetricthat you want to add to thelog. If missing, defaults to all columns.- prefix
character: Prefix to be added to the newly added metric columns in thelog.
Value
Object of class log or derivatives (grouped_log,
eventlog, activitylog, etc.). Same class as the log input.
Methods (by class)
augment(log_metric): Augment log metricaugment(case_metric): Augment case metricaugment(activity_metric): Augment activity metricaugment(resource_metric): Augment resource metricaugment(resource_activity_metric): Augment resource-activity metricaugment(trace_metric): Augment trace metric
Examples
if (FALSE) { # \dontrun{
sepsis %>%
throughput_time("case") %>%
augment(sepsis)
} # }
