Loop over rows within ifelse in R

后端 未结 0 1893
野的像风
野的像风 2020-12-19 12:48

I have a dataframe, dt with two variables as given below. Using the code below, I want to get matrix G.

V1   V2
1   60
1   30
1   38
1   46
2   29
2   35
2            


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