Re: [R] [Plea to the R Gods] Theoretical and Empirical CDFs

2011-06-02 Thread Greg Snow
Look at the logspline package for one approach to doing this. -Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of teriri Sent: Thursday, June 02, 2011 12:19 AM To: r-help@r-project.org Subject: [R] [Plea to the R Gods] Theoretical and

Re: [R] [Plea to the R Gods] Theoretical and Empirical CDFs

2011-06-02 Thread teriri
Hello! Haha, I am not doing this for a class...just trying to teach myself a few things or two. Thank you both for the responses. I really appreciate it. -- View this message in context: http://r.789695.n4.nabble.com/Plea-to-the-R-Gods-Theoretical-and-Empirical-CDFs-tp3567636p3569609.html Sent f

Re: [R] [Plea to the R Gods] Theoretical and Empirical CDFs

2011-06-02 Thread David Winsemius
On Jun 2, 2011, at 2:18 AM, teriri wrote: http://r.789695.n4.nabble.com/file/n3567636/ecdfs.jpg ecdfs.jpg http://r.789695.n4.nabble.com/file/n3567636/ecdf_curve.gif ecdf_curve.gif Hello, I have generated a plot of two empirical CDFs (attachment 1). As a result, they are stepwise when pl

Re: [R] [Plea to the R Gods] Theoretical and Empirical CDFs

2011-06-02 Thread Patrick Breheny
On 06/02/2011 02:18 AM, teriri wrote: I have generated a plot of two empirical CDFs (attachment 1). As a result, they are stepwise when plotted. ... But what I need instead are smooth curves, similar to ones that are generated from a theoretical cdf (attachment 2). To obtain a smooth curve, yo

[R] [Plea to the R Gods] Theoretical and Empirical CDFs

2011-06-01 Thread teriri
http://r.789695.n4.nabble.com/file/n3567636/ecdfs.jpg ecdfs.jpg http://r.789695.n4.nabble.com/file/n3567636/ecdf_curve.gif ecdf_curve.gif Hello, I have generated a plot of two empirical CDFs (attachment 1). As a result, they are stepwise when plotted. The following code was used: > plot(ecdf(mu