| create_a_new_unique_var_name | R Documentation |
Provides a column name like the likewhatvariable that is not already exists in the data frame data.
create_a_new_unique_var_name(likewhatvariable, data.df)
likewhatvariable |
The initial name (string) |
data.df |
The data frame to be added |
A string with the suggested name.
Epaminondas Diamantopoulos
newvariablename = create_a_new_unique_var_name(
"diet1stword",
freeassociationdata)
print(newvariablename)