[R] Help regarding frequency distribution Graphs

David Winsemius dwinsemius at comcast.net
Wed Aug 26 17:21:34 CEST 2009


On Aug 26, 2009, at 7:32 AM, anupam sinha wrote:

> Hi all,
>            I am trying to construct a frequency distribution graph  
> i.e.
> suppose there is a variable *"k"* and it takes a range of values.  
> What I
> want to do is to plot *"P(k)" *(probability/frequency of finding a  
> specific
> value of *"k"*) vs *"k"*.I
> would like to get a smooth curve  between "P(k) vs k". I  have  
> already tried
> *"hist*" function in R but want something more specific. Can anyone  
> help me
> out ?  Thanks in advance.
>

?density

David Winsemius, MD
Heritage Laboratories
West Hartford, CT




More information about the R-help mailing list