Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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

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

Hmisc

Harrell Miscellaneous

v4.5-0
GPL (>= 2)
Authors
Frank E Harrell Jr <fh@fharrell.com>, with contributions from Charles Dupont and many others.
Initial release
2021-02-27

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.