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=
-
> 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
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
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
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
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
6 matches
Mail list logo