compute.margins {reshape}R Documentation

Compute margins

Description

Compute marginal values.

Usage

compute.margins(data, margins, vars, fun.aggregate, ..., df=FALSE)

Arguments

data data frame
margins margins to compute
vars all id variables
fun.aggregate aggregation function
... other argument passed to aggregation function
df

Author(s)

Hadley Wickham <h.wickham@gmail.com>


[Package reshape version 0.8.2 Index]