R: Cast parse formula

cast_parse_formula {reshape} | R Documentation

## Cast parse formula

### Description

Parse formula for casting

### Usage

    cast_parse_formula(formula = "...  ~ variable", varnames)

### Arguments

`formula` |
`varnames` |

### Details

@value row character vector of row names @value col character vector of column names @value aggregate boolean whether aggregation will occur @keyword internal

### Value

`row` | character vector of row names
`col` | character vector of column names
`aggregate` | boolean whether aggregation will occur

### Author(s)

Hadley Wickham <h.wickham@gmail.com>

### Examples

    cast_parse_formula("a + ...", letters[1:6])
    cast_parse_formula("a | ...", letters[1:6])
    cast_parse_formula("a + b ~ c ~ . | ...", letters[1:6])

[Package reshape version 0.8.8 Index]