eelbrain.Factor.aggregate¶
-
Factor.
aggregate
(self, x, name=None)¶ Summarize the Factor by collapsing within cells in x.
Raises an error if there are cells that contain more than one value.
Parameters: - x : categorial
A categorial model defining cells to collapse.
- name : str
Name of the output Factor (default is current name).
Returns: - f : Factor
A copy of self with only one value for each cell in x