How can I get a list of indices of values related to each other by lineage? [R]

后端 未结 0 1102
自闭症患者
自闭症患者 2021-02-05 00:22

suppose I have a dataframe like this:

c2 <- c(2,5,7,8,10)
c1 <- c(1,3,2,7,5)
df <- data.frame(c1, c2)

Such that:

1 is related to

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