Dear list members,
How to annotate text in only one of the graph of a facet_wrap?
x = rnorm(1:10)
y = rnorm(1:10)
sitio = c("a", "b")
df = data.frame(x,y, sitio)
df
p = ggplot(df, aes(x, y))
p + geom_point() + theme_bw() + facet_wrap(~sitio, scales="free") +
annotate("text", x=-0.5, y=0.2, label="This point")
but I want only in graph "a".
Best,
Manuel
--
Manuel Spínola, Ph.D.
Instituto Internacional en Conservación y Manejo de Vida Silvestre
Universidad Nacional
Apartado 1350-3000
Heredia
COSTA RICA
mspi...@una.ac.cr
mspin...@gmail.com
Teléfono: (506) 2277-3598
Fax: (506) 2237-7036
Personal website:
Lobito de río
Institutional website:
ICOMVIS