Skip to contents

Remove backticks around variable names

Usage

.clean_backticks(x, variable_names = x)

Arguments

x

(string)
A character vector to be cleaned.

variable_names

(string)
Optional vector of variable names, could be obtained with model_list_variables(only_variable = TRUE), to properly take into account interaction only terms/variables.

See also

Other other_helpers: .escape_regex()