add_end_activity: Add Artificial Start/End Activities

View source: R/add_start_end_activity.R

add_end_activityR Documentation

Add Artificial Start/End Activities

Description

Adds an artificial start or end activity to each case with the specified label.

Usage

add_end_activity(log, label = "End", eventlog = deprecated())

add_start_activity(log, label = "Start", eventlog = deprecated())

## S3 method for class 'eventlog'
add_end_activity(log, label = "End", eventlog = deprecated())

## S3 method for class 'activitylog'
add_end_activity(log, label = "End", eventlog = deprecated())

## S3 method for class 'grouped_log'
add_end_activity(log, label = "End", eventlog = deprecated())

## S3 method for class 'eventlog'
add_start_activity(log, label = "Start", eventlog = deprecated())

## S3 method for class 'activitylog'
add_start_activity(log, label = "Start", eventlog = deprecated())

## S3 method for class 'grouped_log'
add_start_activity(log, label = "Start", eventlog = deprecated())

Arguments

log

log: Object of class log or derivatives (grouped_log, eventlog, activitylog, etc.).

label

character: Start (default "Start") or end (default "End") activity label. This must be an activity label that is not already present in log.

eventlog

[Deprecated]; please use log instead.

Methods (by class)

  • add_end_activity(eventlog): Adds end activity to an eventlog.

  • add_end_activity(activitylog): Adds end activity to an activitylog.

  • add_end_activity(grouped_log): Adds end activity to a grouped_log.

Functions

  • add_start_activity(eventlog): Adds start activity to an eventlog.

  • add_start_activity(activitylog): Adds start activity to an activitylog.

  • add_start_activity(grouped_log): Adds start activity to a grouped_log.


bupaR documentation built on May 29, 2024, 7:46 a.m.