[R] Help regarding frequency distribution Graphs

David Winsemius
Wed, 26 Aug 2009 15:21:34 -0000

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