Hmisc (version 2.0-0)

Cs: Character strings from unquoted names

Description

Makes a vector of character strings from a list of valid S names

Usage

Cs(...)

Arguments

...
any number of names separated by commas

Value

  • character string vector

See Also

sys.frame, deparse

Examples

Run this code
Cs(a,cat,dog)
# subset.data.frame <- dataframe[,Cs(age,sex,race,bloodpressure,height)]

Run the code above in your browser using DataCamp Workspace