what are the functions that one can use for unstack aggregate functions?

10 ビュー (過去 30 日間)
alpedhuez
alpedhuez 2020 年 7 月 5 日
コメント済み: alpedhuez 2020 年 7 月 5 日
I use unstack to create a pivot table.
https://www.mathworks.com/help/matlab/ref/unstack.html
what are the functions that one can use for 'AggregationFunction' in addition to @mean, @sum, @unique seen in the above page?

採用された回答

Steven Lord
Steven Lord 2020 年 7 月 5 日
Any function that can be applied "to rows from the same group that have the same value in ivar" and return a scalar, and that can be applied to an empty array and returns either an empty array or a scalar (to handle the case where a group has no data.)

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeTables についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by