qc | R Documentation |
qc
It is often needed to address variables in the data.frame in the such
manner: dfs[ , c("var1", "var2", "var3")]
. qc
("quoted c") is a
shortcut for the such cases to reduce keystrokes. With qc
you can write:
dfs[ , qc(var1, var2, var3)]
.
qe
returns list of expression.
qc(...)
qe(...)
... |
unquoted names of variables in
|
Vector of characters or expressions
## qc
qc(a, b, c)
identical(qc(a, b, c), c("a", "b", "c"))
mtcars[, qc(am, mpg, gear)]
## qe
qe(mrset(a1 %to% a6), mrset(b1 %to% b6), mrset(c1 %to% c6))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.