[R] CDF plot

From: huang min <minhuangr_at_gmail.com>
Date: Thu 07 Jul 2005 - 11:44:09 EST

Dear all,

I have define a discrete distribution P(y_i=x_i)=p_i, which I want to plot a CDF plot. However, I can not find a function in R to draw it for me after searching R and R-archive. I only find the one for the sample CDF instead my theoretical one.

I find stepfun can do it for me, however, I want to plot some different CDF with same support x in one plot. I can not manage how to do it with stepfun.

Is there any existing function in R to draw the theoretical CDF plot? Or how to abline other step functions in stepfun? Thanks.

R-help@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 Received on Thu Jul 07 11:47:39 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:33:18 EST