add tag at the end of the line ggplot

I think the easiest way would be to reshape your data into a long format. That way, you would only need one call to geom_line() instead of 5, and geom_label() would work. Look into the tidyr::pivot_longer() function to reshape your data.
If you need more specific help, please try to provide a proper reproducible example (Reprex) for your problem.

2 Likes