I have a vector of data that looks like this
"This is some text"
"This is something different"
"Fish fingers"
"And now for something completely different".
I want to make it a vector of one word only so I end up with
This
is
some
text
This
is
something
different
...
I'll tidy up the duplicates later. I've tried all sorts of approaches in R but I can't get it down to one row per word.
FWIW after this I will be removing duplicates and doing a frequency count for each unique word.
Thx in advance and sorry if this is covered elsewhere - I have searched but couldn't fine anything