title: Convert rarefaction plots from Vegan to ggplot2 in R?
body: <p>Hi I am running species estimator calculations in the package 'vegan'. </p>
  
  <p>The code I'm running is very simple:</p>
  
  <pre><code>library(vegan)    
  data(BCI)
  p&lt;-poolaccum(BCI, permutations = 50)
  p.plot&lt;-plot(p, display = c("chao", "jack1", "jack2"))
  </code></pre>
  
  <p>The object <code>p.plot</code> is a trellis type object. So I was not able to convert it to a dataframe to for ggplot. The reason why I want to be able to use ggplot is because I want all the estimator curves to be on the same graph with labels. I'm also doing these plots for other datasets and I want to consolidate space as much as possible. </p>
  
  <p>Any help would be great! Thank you</p>