#### 8.2.65 tblish.table.grpstats ¶

Function: `[out] =` tblish.table.grpstats `(tbl, groupvar)` ¶
Function: `[out] =` tblish.table.grpstats `(…, `'DataVars'`, DataVars)` ¶

  Statistics by group for a table array.

  This is a table-specific implementation of `grpstats` that works on table arrays. It is supplied as a function in the +tblish package to avoid colliding with the global `grpstats` function supplied by the Statistics Octave Forge package. Depending on which version of the Statistics OF package you are using, it may or may not support table inputs to its `grpstats` function. This function is supplied as an alternative you can use in an environment where `table` arrays are not supported by the `grpstats` that you have, though you need to make code changes and call it as `tblish.table.grpstats(tbl)` instead of with a plain `grpstats(tbl)`.

  See also: table.groupby, table.findgroups, table.splitapply