[R] How to display the equation of ECDF

Spencer Graves spencer.graves at pdf.com
Sun Aug 15 01:10:44 CEST 2004

      Did you try typing "ecdf" (without the parentheses identifying it 
as a function) at a prompt?  When I did that just now, I found that 
"ecdf" calls "approxfun", and I could get a function definition by 
typing that. 

      hope this helps. 
      spencer graves
p.s.  PLEASE do read the posting guide! 
"http://www.R-project.org/posting-guide.html".  You might get the answer 
quicker from following this guide.  If not, the exercise might help you 
formulate your question in a way that might elicit more useful 

Yair Benita wrote:

> Hi,
> Using the ecdf (Empirical Cumulative Distribution Function) one can 
> compute a plot. I was wondering if there is a way to get the equation 
> used to draw the plot.
> thanks,
> Yair
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! 
> http://www.R-project.org/posting-guide.html

More information about the R-help mailing list