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. Regards, Anupam Sinha [[alternative HTML version deleted]]
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
Google "R gallery" :-) On Wed, Aug 26, 2009 at 7:32 AM, anupam sinha <anupam.contact@gmail.com>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. > > > Regards, > > > Anupam Sinha > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help@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<http://www.r-project.org/posting-guide.html> > and provide commented, minimal, self-contained, reproducible code. >[[alternative HTML version deleted]]