Learn R Programming

reshape (version 0.8.9)

margin.vars: 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

list of column and row variables

margins

vector of variable names to margin over

Details

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