hi, I would like to know what is the function to plot cdf. Thanks, Luck
I think curve is one option. for example , I can use "curve(pnorm,-5,5)" to plot the normal cdf. use ?curve to get the usage. 2006/4/27, Nongluck Klibbua <Nongluck.Klibbua at newcastle.edu.au>:> hi, > I would like to know what is the function to plot cdf. > Thanks, > Luck > > ______________________________________________ > 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 >-- ?????? Deparment of Sociology Fudan University
>>>>> "ronggui" == ronggui <ronggui.huang at gmail.com> >>>>> on Thu, 27 Apr 2006 19:27:04 +0800 writes:ronggui> I think curve is one option. for example , I can ronggui> use "curve(pnorm,-5,5)" to plot the normal cdf. ronggui> use ?curve to get the usage. Or Luck might mean the *empirical* cdf, and then plot(ecdf(..)) solves it; type example(ecdf) to see a few examples -- maybe after first saying par(ask = TRUE) Martin Maechler, ETH Zurich ronggui> 2006/4/27, Nongluck Klibbua ronggui> <Nongluck.Klibbua at newcastle.edu.au>: >> hi, I would like to know what is the function to plot >> cdf. Thanks, Luck