Learn R Programming

JointAI (version 1.1.0)

clean_names: 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)

Value

the cleaned character string

Arguments

string

a character string

Details

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