I got two big data frames, one (df1) has this structure
   chr    init
1  12  25289552
2   3 180418785
3   3 180434779
The other (df2) has this
    V1    V2     V3
10  1     69094 medium
11  1     69094 medium
12  12 25289552 high
13  1     69095 medium
14  3 180418785 medium
15  3 180434779 low
What I'm trying to do is to add the column V3 of df2 to df1, to get the info of the mutation
   chr    init  Mut
1  12  25289552 high
2   3 180418785 medium
3   3 180434779 low
I'm trying loading both into R and then doing a for loop using match but it doesn't work. Do you know any special way to do this? I am also open to do using awk or something similar
 
     
     
     
     
    