clean_names: Replace ":" with "_" in a string

View source: R/helpfunctions_checks.R

clean_namesR Documentation

Replace ":" with "_" in a string

Description

Cleans up factor levels (or other strings) by replacing ":" with "_" to avoid issues with the current implementation of identifying interactions (which looks for ":" in model terms).

Usage

clean_names(string)

Arguments

string

a character string

Details

used in this file (in convert_variables()) (2020-06-09)

Value

the cleaned character string


JointAI documentation built on Jan. 30, 2026, 5:07 p.m.