margin.vars {reshape} | R Documentation |
Works out list of variables to margin over to get desired margins.
margin.vars(rows = NULL, cols = NULL, margins = NULL)
rows |
column variables |
cols |
row variables |
margins |
vector of variable names to margin over. |
Variables that can't be margined over are dropped silently.
Hadley Wickham <h.wickham@gmail.com>