title: Export plot data from R to Excel
body: <p>I have this plot which i generate it from this code:</p>
  
  <pre><code>m &lt;- bcea(e=effects,c=costs, ref=2, interventions=treatments, Kmax=50000)
  </code></pre>
  
  <p>The plot is:</p>
  
  <pre><code>evi.plot(m)
  </code></pre>
  
  <p>Now, i need to export this evpi.plot(m) in an excel file, not the jpeg created, but the data along with it, i mean what created the X and Y axis.</p>
  
  <p>I've been using something like this but it's not for this case</p>
  
  <pre><code>write.table( thresholds, 'clipboard', sep='\t', row.names=FALSE, col.names=FALSE )
  </code></pre>