R: Margin variables

margin.vars {reshape} | R Documentation

## Margin variables

### Description

Works out list of variables to margin over to get desired margins.

### Usage

    margin.vars(vars = list(NULL, NULL), margins = NULL)

### Arguments

`vars` | column variables
`margins` | row variables
`` | vector of variable names to margin over.

### Details

Variables that can't be margined over are dropped silently.

### Author(s)

Hadley Wickham <h.wickham@gmail.com>

[Package reshape version 0.8.7 Index]