How to combine values within a variable

Could you please help us help you by providing a reproducible example?

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

Or perhaps at least a data sample that you're talking about?