How to combine values within a variable

Don't worry, that's what the forum is for.
You just need to state clearly what you want. Again, reprexes help a lot.

http://reprex.tidyverse.org/
reprex dos and don'ts
reprex FAQ

If you could create a sample input vector and then show us the desired outcome, we could work together to figure out how to get there.