Learn R Programming

edeaR (version 0.9.4)

augment: Augment Log

Description

Augment log with results from metric computation.

Usage

augment(metric, log, columns, prefix = "")

# S3 method for log_metric augment(metric, log, columns, prefix = "")

# S3 method for case_metric augment(metric, log, columns, prefix = "")

# S3 method for activity_metric augment(metric, log, columns, prefix = "")

# S3 method for resource_metric augment(metric, log, columns, prefix = "")

# S3 method for resource_activity_metric augment(metric, log, columns, prefix = "")

# S3 method for trace_metric augment(metric, log, columns, prefix = "")

Value

Object of class log or derivatives (grouped_log, eventlog, activitylog, etc.). Same class as the log input.

Arguments

metric

Metric computed by edeaR

log

log: Object of class log or derivatives (grouped_log, eventlog, activitylog, etc.) that was used to compute the metric.

columns

character vector: Column names from the metric that you want to add to the log. If missing, defaults to all columns.

prefix

character: Prefix to be added to the newly added metric columns in the log.

Methods (by class)

  • augment(log_metric): Augment log metric

  • augment(case_metric): Augment case metric

  • augment(activity_metric): Augment activity metric

  • augment(resource_metric): Augment resource metric

  • augment(resource_activity_metric): Augment resource-activity metric

  • augment(trace_metric): Augment trace metric

Examples

Run this code
if (FALSE) {
sepsis %>%
	throughput_time("case") %>%
	augment(sepsis)
}

Run the code above in your browser using DataLab