This is the code I used:
ggplot(Delays2006, aes(Month)) + geom_point(aes(y = delay), color = "blue", size = 2)
+ geom_point(aes(y=delay2)) + scale_x_discrete(limits=(month.name))
+ labs(x= "Months", y = "Delays in minutes") + ggtitle(" Flight Data 2006")
This is the output:
May I ask how do I add legends to delay and delay2 in this graph. Thank you.