Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想编写一个带有向量和数据框作为参数的函数
myfunction <- function (vector, dataframe) { result <- dataframe$??[match(vector,dataframe$??)] }
我应该换什么??分别访问第二列和第一列?