title: How to position R-squared and equation in Facet mode?
body: <p>I want to show the linear equation and the R-squared in the each plot in facet mode. This is my code so far.</p>
  
  <pre><code>library("ggplot2")
  datos &lt;- read.table("~/Documents/master2/plots/dosis_todos/datos.dat", header=TRUE, quote="\"")
  ggplot(datos, aes(x = corriente, y = dosis, colour = cristal)) +    
  geom_point() + geom_smooth(method="lm", se=F) + 
  facet_wrap(~datos$cristal)
  </code></pre>
  
  <p>After reading about ggpmisc in this <a href="https://stackoverflow.com/questions/7549694/adding-regression-line-equation-and-r2-on-graph">answer</a>, I tried</p>
  
  <pre><code>my.formula &lt;- y ~ x
  library("ggpmisc")
  ggplot(datos, aes(x = corriente, y = dosis, colour = cristal)) +    
  geom_point() + 
  geom_smooth(method="lm", se=F, formula=my.formula) +
  stat_poly_eq(aes(label = paste(..eq.label.., ..rr.label.., sep = "~~~")), formula = my.formula, parse = TRUE) +
  facet_wrap(~datos$cristal)
  </code></pre>
  
  <p>Which kinda works, except that the position of the equation goes down for every plot until disappears...</p>
  
  <p><a href="https://i.stack.imgur.com/iheid.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/iheid.png" alt="enter image description here"></a></p>
  
  <p>If I save my plot big enough, I can see all my text in the 9 plots ....going down.</p>
  
  <p>So I guess the question is how to keep fixed the position of the equation and the R-squared information? </p>
  
  <p>Thanks</p>
  
  <p>Ps. Yes, I know N57 has only 3 points :( </p>
  
  <p>Ps. Here is the link to my <a href="https://drive.google.com/file/d/1W2gGhvAQ10gE8yU2kOaIh1dXcSnTOn7U/view?usp=sharing" rel="nofollow noreferrer">data</a></p>