Rename variable names to a generic and consistent format that can be used by other functions of the suddengains package.
rename_sg_vars(
data,
rename_var_list,
new_var_str = "temp_var_",
start_numbering = 1
)
Dataframe in wide format with renamed variables.
Dataframe in wide format.
Vector of variables to be renamed.
String, new name for variables.
Numeric, first number to be used as suffix for renaming variables specified in "rename_var_list".