How to convert a string in a function into an object?

前端 未结 5 844
你的背包
你的背包 2020-12-14 17:55

I would like to convert a string that I pass in a function into an object (or column name).

I know that this works:

df <- data.frame(A = 1:10, B =         


        
5条回答
提交回复
热议问题