Description Usage Arguments Details Value Author(s) Examples
It is often flexible to input variables in plotting functions, and this generic function convert most common inputs (character, numeric or formula) to a character vector of variable names.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 | 
| vars | a character vector of variable names, or a numeric vector of
column indices, or a two-sided formula like  | 
| data | the data containing the variables | 
Numeric indices are converted to character names according to the positions
of variables in the data; all.vars is used to extract all
variable names in a formula, and the special formula ~ . is treated
differently: it means all variables in the data except thoese names starting
with a dot (e.g. .color).
A character vector
Yihui Xie <http://yihui.name>
| 1 2 3 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.