Learn R Programming

bupaR (version 0.3.2)

act_recode: Recode activity labels

Description

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

Usage

act_recode(eventlog, ...)

# S3 method for eventlog act_recode(eventlog, ...)

Arguments

eventlog

An object of class eventlog.

...

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)

  • eventlog: Recode activity labels of event log

See Also

eventlog, activity_id, act_unite

Other Activity processing functions: act_collapse, act_unite