8.2.59.54 table.grpstats

Method: [out] = grpstats (obj, groupvar)
Method: [out] = grpstats (…, 'DataVars', DataVars)

Statistics by group.

See also: table.groupby.