Use stat_summary in ggplot2 to calculate the mean and sd, then connect mean points of error bars

In the following example, the Mean and se was calculated from the raw data and plotted in barplot. I want to do the same thing but instead of using barplot i want to use connected points. so, i will