I have two dataframes, each of them have a column that contains several words. However the order and the size of this two column is different. The first database is bigger and looks like this:
words response  time.response
WORD1   s           434
WORD2   s           567
WORD3   l           765 
WORD2   s           235
WORD4   l           854
WORD3   l           521 
...
as you can see some words occurs several times the second dataframe is smaller and looks like this:
words  Assoc.  Dist
WORD1    4       1
WORD2    7       0
WORD3    6       1
WORD4    2       1
...
How can I associate the value of the second dataframe to the words of the first one, knowing that they are the same?
I expect something like this:
words response  time.response  Assoc   Dist
WORD1   s           434          4      1
WORD2   s           567          7      0
WORD3   l           765          6      1
WORD2   s           235          7      0
WORD4   l           854          2      1
WORD3   l           521          6      1
...
 
     
    