File: Cs.Rd

package info (click to toggle)
hmisc 5.2-4-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,044 kB
  • sloc: asm: 28,905; f90: 590; ansic: 415; xml: 160; fortran: 75; makefile: 2
file content (34 lines) | stat: -rw-r--r-- 750 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
\name{Cs}
\alias{Cs}
\alias{.q}
\title{
Character strings from unquoted names
}
\description{
\code{Cs} makes a vector of character strings from a list of valid R
names.  \code{.q} is similar but also makes uses of names of arguments.
}
\usage{
Cs(\dots)
.q(\dots)
}
\arguments{
\item{...}{
any number of names separated by commas.  For \code{.q} any names of
arguments will be used.
}}
\value{
character string vector.  For \code{.q} there will be a \code{names}
attribute to the vector if any names appeared in \dots.
}
\seealso{
sys.frame, deparse
}
\examples{
Cs(a,cat,dog)
# subset.data.frame <- dataframe[,Cs(age,sex,race,bloodpressure,height)]
.q(a, b, c, 'this and that')
.q(dog=a, giraffe=b, cat=c)
}
\keyword{character}
\keyword{utilities}