augment {edeaR}R Documentation

Augment Log

Description

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 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.

Value

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

Methods (by class)

Examples

## Not run: 
sepsis %>%
	throughput_time("case") %>%
	augment(sepsis)

## End(Not run)


[Package edeaR version 0.9.4 Index]