title: How to extract Ecdf value from the Ecdf() return？
body: <p>The answer for <a href="https://stackoverflow.com/questions/12169502/how-do-i-extract-ecdf-values-out-of-ecdfplot">This</a> question here suggest a way by applying <code>ecdf</code>.</p>
  
  <p>However I am using <code>Ecdf()</code> from package <code>Hmisc</code> for it provides a convenient way to do a ccdf(Complementary Cumulative Distribution Function) plot. (by setting the <code>what</code> option to '1-F')</p>
  
  <p>By default, <code>Ecdf()</code> does the plot and return a nested list containing <code>x</code> and <code>y</code>. </p>
  
  <p>How can I extract the <code>y</code> value of a certain <code>x</code> value? and then plot it on the original plot?</p>
  
  <p>FYI:</p>
  
  <pre><code> &gt; str(Ecdf(rnorm(20), lwd = 2))
      List of 2
       $ x: num [1:21] -1.46 -1.46 -1.18 -1.17 -1.16 ...
       $ y: num [1:21] 0 0.05 0.1 0.15 0.2 0.25 0.3 0.35 0.4 0.45 ...
       - attr(*, "N")=List of 2
        ..$ n: num 20
        ..$ m: num 0
  </code></pre>
  
  <p>At first i am considering convert this list to a data.frame using methods suggested from <a href="https://stackoverflow.com/questions/4227223/r-list-to-data-frame">R List to Data Frame</a>, but my data is huge and the <code>rbind</code> seems really slow. </p>