Count what is the maximum value in each row and divide each cell by this number (in R)

后端 未结 0 614
梦如初夏
梦如初夏 2020-11-30 20:18

I would like to count what is the maximum value in each row and divide every cell by this number Please see an example below.

    col1 col2 
row1 3   5
row2 4         


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