Re: [R] pdf (probability distribution function) and cdf

From: Downey, Patrick <PDowney_at_urban.org>
Date: Tue, 17 May 2011 11:46:04 -0400

I like the function Ecdf in the Hmisc package. For the pdf, you can also use plot(density(x)), which is in the stats package.

??Ecdf

-----Original Message-----
From: r-help-bounces_at_r-project.org [mailto:r-help-bounces_at_r-project.org] On Behalf Of Alaios
Sent: Tuesday, May 17, 2011 10:09 AM
To: R-help_at_r-project.org
Subject: [R] pdf (probability distribution function) and cdf

Dear all,
I would like for a given vector to calculate the pdf and the cdf and then plot these two graphs.
Is there in R any toolkit that can help me do that fast?

Regards
Alex



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Tue 17 May 2011 - 15:48:01 GMT

This quarter's messages: by month, or sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

All messages

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 17 May 2011 - 16:20:08 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive