[R] how to plot the histogram and the curve in the same graph

2008-10-21 Thread Carl Witthoft
Here is some code that more or less does what you want -- not a true histogram, but all else is in place. Feel free to modify, give away, etc. No copyright ;-) myhist<-function(data,breaks="Sturges",xlabel="data value",ylabel='counts',curve=TRUE, title="myhist.R made this fake histogram",sdf=

Re: [R] how to plot the histogram and the curve in the same graph

2008-10-21 Thread Greg Snow
- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > project.org] On Behalf Of leo_wa > Sent: Monday, October 20, 2008 8:47 PM > To: r-help@r-project.org > Subject: [R] how to plot the histogram and the curve in the same graph > > > i want to plot the histogram and the curv

Re: [R] how to plot the histogram and the curve in the same graph

2008-10-21 Thread Rubén Roa-Ureta
leo_wa wrote: i want to plot the histogram and the curve in the same graph.if i have a set of data ,i plot the histogram and also want to see what distribution it was.So i want to plot the curve to know what distribution it like. To draw the curve and the distribution you should have an ide

Re: [R] how to plot the histogram and the curve in the same graph

2008-10-21 Thread matthieu dubois
leo_wa hotmail.com> writes: > > > i want to plot the histogram and the curve in the same graph.if i have a set > of data ,i plot the histogram and also want to see what distribution it > was.So i want to plot the curve to know what distribution it like. You will find below an example using on

Re: [R] how to plot the histogram and the curve in the same graph

2008-10-20 Thread Dieter Menne
leo_wa hotmail.com> writes: > > i want to plot the histogram and the curve in the same graph.if i have a > set of data ,i plot the histogram and also want to see what distribution > it was.So i want to plot the curve to know what distribution it like. See the example under histogram/lattice

[R] how to plot the histogram and the curve in the same graph

2008-10-20 Thread leo_wa
i want to plot the histogram and the curve in the same graph.if i have a set of data ,i plot the histogram and also want to see what distribution it was.So i want to plot the curve to know what distribution it like. -- View this message in context: http://www.nabble.com/how-to-plot-the-histogram