eelbrain.Datalist.aggregate
- Datalist.aggregate(x, func='mean')
Summarize cases for each cell in x
- Parameters:
x (Factor | Interaction | NestedEffect | str) – Cells which to aggregate.
func (Callable | str) – How to merge entries. Can be a
numpy
function such asnumpy.mean()
, or astr
special method:'mean'
: sum elements and divide by cell length (default).
- Return type: