act_recode: Recode activity labels

View source: R/act_recode.R

act_recodeR Documentation

Recode activity labels

Description

Recode one or more activity labels through specifying their old and new label

Usage

act_recode(log, ..., eventlog = deprecated())

## S3 method for class 'log'
act_recode(log, ..., eventlog = deprecated())

## S3 method for class 'grouped_log'
act_recode(log, ..., eventlog = deprecated())

Arguments

log

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

...

A sequence of named character vectors of length one where the names gives the new label and the value gives the old label. Labels not mentioned will be left unchanged.

eventlog

[Deprecated]; please use log instead.

Methods (by class)

  • act_recode(log): Recode activity labels of event log

  • act_recode(grouped_log): Recode activity labels of event log

See Also

eventlog, activity_id, act_unite

Other Activity processing functions: act_collapse(), act_unite()


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