Apply row-wise transformation in R so that total percentage for each row will be 100%

后端 未结 0 669
春和景丽
春和景丽 2020-12-23 20:47

I have a data frame like this:

df <- structure(list(groups= c("group1", "group2", "group3", "group4"), 
                    


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