powered by
Makes a vector of character strings from a list of valid S names
Cs(…)
any number of names separated by commas
character string vector
sys.frame, deparse
# NOT RUN { Cs(a,cat,dog) # subset.data.frame <- dataframe[,Cs(age,sex,race,bloodpressure,height)] # }
Run the code above in your browser using DataLab