title: Convert rdplot in the rdrobust library to ggplot
body: <p>Is there any way to convert an rdplot from the rdrobust library in R to a ggplot object? There are many specifications that do not work in the rdplot format (layout and grobs), so it would be nice to be able to work with the figure in another format.</p>
  <p>Thanks!</p>
  <p>Some random code for rdplot:</p>
  <pre><code>library(rdrobust)
  
  theta &lt;- 1:100
  diff &lt;- -50:49
  
  rdplot(theta, diff, p=1, binselect=&quot;qs&quot;, nbins=c(15, 5))
  </code></pre>