Cs {Hmisc} | R Documentation |
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
Cs(a,cat,dog) # subset.data.frame <- dataframe[,Cs(age,sex,race,bloodpressure,height)]