Is there a way to produce a single point at the end of a geom_line call in ggplot? I am thinking of the equivalent to the following in base R, where one finds the max of a vector, and then plots the point only there, at the end of a line as below.
Thanks for any help on this!
lines(sort(times), 1:length(times), col=cols[i], lwd=1)
points(max(times), length(times), col=cols[i], pch=16)