process_rename_category: Replace two or more named categories of any column with a new...

View source: R/output_trips.R

process_rename_categoryR Documentation

Replace two or more named categories of any column with a new joint category name

Description

The function process_rename_category takes a tibble as input and replaces all occurrences of the specified categories in a column with another name provided in united_name.

Usage

process_rename_category(
  trips_table,
  unite_template = character(0),
  united_name = "united",
  column = "main_mode"
)

Arguments

trips_table

tibble of output_trips (from


matsim-vsp/matsim-r documentation built on Feb. 3, 2025, 6:48 p.m.