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 eventlog or activitylog.

...

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)

  • log: Recode activity labels of event log

  • 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 July 5, 2022, 5:17 p.m.