[R] Bumps chart in R

Andreas Christoffersen achristoffersen at gmail.com
Mon Apr 27 20:53:44 CEST 2009


> Or just add the text layer separately:
>
> qplot(year, value, data = data, geom = "line", group = countries) +
>  geom_text(aes(label = countries), subset = .(year == 1990),
>    hjust = 1, size = 3, lineheight = 1)

THX a lot!
The subset did not work for me, but this does:
subset(data,year == 1990)

Andreas




More information about the R-help mailing list