add text to ggplot2 code example
Example 1: add text in a ggplot
+ geom_text(x=3, y=30, label="my text")
Example 2: text in ggplot2
# Solution 1
sp2 + geom_text(x=3, y=30, label="Scatter plot")
# Solution 2
sp2 + annotate(geom="text", x=3, y=30, label="Scatter plot",
color="red")