R - replace values conditionally when column names are similar

后端 未结 0 1814
醉酒成梦
醉酒成梦 2021-01-17 10:29

I have a large dataframe df with 41 columns of data. The first 40 columns have all similar variable names TD1, TD2, TD3 .... TD40 that contain characters. The last column is

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