我目前正在尝试重命名多个数据框中的单个列以匹配R中的数据框名称。
我在网站上看到了一些问题/解决方案,这些问题/解决方案与我尝试执行的操作类似,但似乎都没有动态地执行此操作。我有45个以上的数据框,需要在其中重命名一列,因此可以手动输入每个单独的名称,但很耗时。
Dataframe1 <- column
Dataframe2 <- column
Dataframe3 <- column
I want it to look like this:
Dataframe1 <- Dataframe1
Dataframe2 <- Dataframe2
Dataframe3 <- Dataframe3
The ultimate goal is to have a master dataframe with columns Dataframe1,Dataframe2,and Dataframe3