aggregate(x, func=<function mean>, name=None)¶
Summarize cases within cells of x
x (categorial) – Model defining cells in which to aggregate.
func (callable) – Function that converts arrays into scalars, used to summarize data within each cell of x.
name (str) – Name of the output (default is the current name).
aggregated_var – A Var instance with a single value for each cell in x.
- Return type