Hi all
I have some data that looks life this
Phrase Group
this is some text Alpha
some more text Bravo
I need (and I can't find the right combination of strsplit and mutate - sorry if it's right in front of me) is:
Word Group
this Alpha
is Alpha
some Alpha
text Alpha
some Bravo
more Bravo
text Bravo
I can handle the duplicates later. I know strsplit and unlist will give me Word (in the example above) from Phrase. What I need is for it to include the group belonging to each component Word in Phrase (again in the example above).
I think unlist might be the way forward but I can't make it work.
Thanks in advance.