R mean of one column based on another

前端 未结 0 1320
暗喜
暗喜 2021-01-11 21:32

I have a matrix

     sex age height weight
[1,]   2   6  110     22
[2,]   1   2   84     12
[3,]   2   2   85     10
[4,]   1   6  108     20
[5,]   2   4  1         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题