I have read in a list of lines int R and need to take the line with the name on it and append it to the line below it so it reads as one row.
The current output is:
[1] "Joe Exotic" "Tiger King, Lead" "Carole Baskin"
[4] "Husband Killer, Tiger Queen" "Doc Antle" "Tiger Person, Swinger"
And I would like it to look like:
[1] "Joe Exotic, Tiger King, Lead" "Carole Baskin, Husband Killer, Tiger Queen"
[3] "Doc Antle, Tiger Person, Swinger"
Solutions in the tidyverse would be ideal. Thank you.