margin.vars {reshape}R Documentation

Margin variables

Description

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

Usage

margin.vars(rows = NULL, cols = NULL, margins = NULL)

Arguments

rows column variables
cols row variables
margins 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>

Examples






[Package reshape version 0.5 Index]