what are the functions that one can use for unstack aggregate functions?
10 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
alpedhuez
am 5 Jul. 2020
Kommentiert: alpedhuez
am 5 Jul. 2020
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?
0 Kommentare
Akzeptierte Antwort
Steven Lord
am 5 Jul. 2020
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.)
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Tables finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!