How to replace several variables with several variables from another dataframe in R using a loop?

后端 未结 0 952
花落未央
花落未央 2020-12-08 01:34

I would like to replace multiple variables with variables from a second dataframe in R.

df1$var1 <- df2$var1
df1$var2 <- df2$var2

# and so on ...


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