Cs.Rd
Cs
makes a vector of character strings from a list of valid R
names. .q
is similar but also makes uses of names of arguments.
Cs(...)
.q(...)
character string vector. For .q
there will be a names
attribute to the vector if any names appeared in ....
sys.frame, deparse
Cs(a,cat,dog)
#> [1] "a" "cat" "dog"
# subset.data.frame <- dataframe[,Cs(age,sex,race,bloodpressure,height)]
.q(a, b, c, 'this and that')
#> [1] "a" "b" "c" "this and that"
.q(dog=a, giraffe=b, cat=c)
#> dog giraffe cat
#> "a" "b" "c"