powered by
Transform a given string of variable names, separated by ", ", into a vector of corresponding variable names.
varNamesToChar(varnam)
Character string, where variable names are separated by commas.
Vector of variable names.
# NOT RUN { nams <- "var1, var2, var3" varNamesToChar(nams) # }
Run the code above in your browser using DataLab