Learn R Programming

Hmisc (version 4.5-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
# 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