I'm very new to R, so it might be a very easily solved question. I couldn't find a solution though, maybe I had wrong keywords.
How do I stack the columns of a dataframe onto each other, while deleting the other ones? I tried converting it into a list but that didn't work out.
This is how the table looks like:
A B C
tulip thyme grass
grass
fern thyme tulip
This would be what I need as a final result
A
tulip
thyme
grass
fern
unique(my dataframe) doesn't work either.
Thank you for your help!