Re: [R] how to plot histogram plot and fitted distributions on the same graph

2009-01-08 Thread Greg Snow
Here is a direct quote from the help page for hist: "if 'FALSE', probability densities, component 'density', are plotted (so that the histogram has a total area of one)." That looks like it may apply to your problem, just figure out what the above quote is referring to. The last example on that

Re: [R] how to plot histogram plot and fitted distributions on the same graph

2009-01-08 Thread Albyn Jones
You are plotting the histogram in the frequency scale. A quick look at the doc page for hist() would reveal the freq option: hist(x,freq=FALSE) then you can add the densities with lines() albyn Quoting Xin Shi : Dear: I am trying to plot the histogram graph for my observed data.