powered by
Convert a given string to a valid R variable name, converting spaces to underscores (_) instead of dots.
create_varname(x)
a string, which is also a valid variable name
a string to convert
Tom Elliott
create_varname("a new variable") create_varname("8d4-2q5")
Run the code above in your browser using DataLab