How calculate the mean by ID when there is more than one individual and the median when there is only one for missing values in R?

后端 未结 0 1773
独厮守ぢ
独厮守ぢ 2021-01-14 10:25

What I want to do is calculate the mean when I have more than one observation with the same ID, and the median when there is only one observation with the same ID.

         


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