R: Get all variables

all.vars.character {reshape} | R Documentation

## Get all variables

### Description

All variables in character string of formula.

### Usage

    ## S3 method for class 'character'
    all.vars(formula, blank.char = ".")

### Arguments

`formula` |
`blank.char` |

### Details

Removes .

### Author(s)

Hadley Wickham <h.wickham@gmail.com>

### Examples

    all.vars.character("a + b")
    all.vars.character("a + b | c")
    all.vars.character("a + b")
    all.vars.character(". ~ a + b")
    all.vars.character("a ~ b | c + d + e")

[Package reshape version 0.8.7 Index]