How to obtain a grouped vector using grpstats ?
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Something like the following. Instead of 'mean', I am looking for a vector which contains all the data from the variables age and weight in each group.
statarray = grpstats(dsa,'Smoker','mean','DataVars',{'Age','Weight'})
0 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Logical 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!