Skip to contents

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

Usage

act_recode(log, ...)

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

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

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.

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()