I want to plot points as horizontal lines in ggplot with labels at the end of each line. Points for reference are:
Year a b c d e f g h
2014 0.02932623 0.006530686 0.05212177 0.007424746 0.004063887 0.01078561 0.0101 0.0333
2015 0.02932623 0.006530686 0.05212177 0.007424746 0.004063887 0.01078561 0.0101 0.0333
2016 0.02932623 0.006530686 0.05212177 0.007424746 0.004063887 0.01078561 0.0101 0.0333
2017 0.02932623 0.006530686 0.05212177 0.007424746 0.004063887 0.01078561 0.0101 0.0333
2018 0.02932623 0.006530686 0.05212177 0.007424746 0.004063887 0.01078561 0.0101 0.0333
I need to plot a,b,c,d,e,f,g and h on y axis and YEAR on x axis as lines having separate colors and labels as a,b,c, d and so on. Please help.