Hopefully someone can help me with this problem. I´ve tried several solutions with no success.
I want to replicate following figure #1. Therefor I´ve added the variable clock (with values from 1 to 12) to my data frame to use it as parameter for the alignment of geom_text.
Figure I want to replicate:
My figure:
Following my code for plotting:
p1 <- ggplot(data, aes(x=tax, y=employment)) + geom_point(colour = ifelse(style == 1 | style == 2,"black","grey")) + geom_smooth(method=lm, se=FALSE)
p1 + coord_cartesian(xlim = c(0, 0.8), ylim = c(0.5,0.9), expand = FALSE) + labs(x = "1 - participation taxrate", y="Employment rate") + geom_text(aes(family = "Times New Roman", label=ifelse(style == 1 | style == 2 ,Country,''))) + theme_bw()