Here is part of my data set
df<-read.table (text=" Group Speed
1 19
1 12
1 20
1 14
1 13
1 13
2 17
2 11
2 20
2 15
2 12
3 18
3 19
3 14
3 18
3 20
3 18
3 16
3 11
4 12
4 18
4 17
4 20
5 11
5 11
5 20
5 18
", header=TRUE)
I want to draw small hyphen lines under the Group
I have used ggplot2 to get the following plot
ggplot(df, aes(x=Group, y=Speed)) +
geom_boxplot()
The outcome is similar to this. I want to draw the hyphen red lines for Groups1 and 4