[R] how to create normalized pdf plot?

Jannis bt_jannis at yahoo.de
Wed Feb 16 12:47:45 CET 2011


How about googleing:

"r-project probability density"

The fourth link to some pdf file gives you quite a bunch of examples and the functions relevant for your problem (hist() and density() I would guess). Browsing the documentation for these functions (by hitting ?hist or ?density ) gives you the explanation of the parameters of these functions.


HTH
Jannis


P.S. The r-seek website gives you a convenient way to browse R related websites for certain keywords.


--- smms <smms at hotmail.ca> schrieb am Mi, 16.2.2011:

> Von: smms <smms at hotmail.ca>
> Betreff: [R] how to create normalized pdf plot?
> An: r-help at r-project.org
> Datum: Mittwoch, 16. Februar, 2011 10:17 Uhr
> 
> Hello,
> 
> I have multiple data files. Each file contains a single
> column and 1.5
> million rows. I want to create normalized pdfs (area under
> curve is 1) and
> histograms to compare with one another. Could anybody
> suggest if there
> exists an easy way or built in function in R.
> 
> At present I am using Origin and Excel together to do this.
> A single file
> needs 10 minutes and I have a total of 929 files! So you
> can imagine the
> frustration. 
> 
> Data file is like this,
> 
> 4.3
> 7.6
> 3.2
> 1.6
> .
> .
> .
> .
> 4.6
> 
> Many thanks in advance to save my rigorous time. 
> -- 
> View this message in context: http://r.789695.n4.nabble.com/how-to-create-normalized-pdf-plot-tp3308522p3308522.html
> Sent from the R help mailing list archive at Nabble.com.
> 
> ______________________________________________
> 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.
> 





More information about the R-help mailing list