[R] Displaying a distribution -- was: Combining two histograms
Kjetil Brinchmann Halvorsen
kjetil at acelerate.com
Thu Feb 3 00:04:40 CET 2005
Berton Gunter wrote:
>Rug plots cannot show replicated values -- spikes at discrete values -- in
>the data distribution. Quantile plots do.
>
>
But you can use rug(jitter(x))
Kjetil
>-- Bert Gunter
>Genentech Non-Clinical Statistics
>South San Francisco, CA
>
>"The business of the statistician is to catalyze the scientific learning
>process." - George E. P. Box
>
>
>
>
>
>>-----Original Message-----
>>From: r-help-bounces at stat.math.ethz.ch
>>[mailto:r-help-bounces at stat.math.ethz.ch] On Behalf Of Gabor
>>Grothendieck
>>Sent: Wednesday, February 02, 2005 9:20 AM
>>To: r-help at stat.math.ethz.ch
>>Subject: Re: [R] Displaying a distribution -- was: Combining
>>two histograms
>>
>>Berton Gunter <gunter.berton <at> gene.com> writes:
>>
>>:
>>: May I take this off topic a little to seek collective
>>wisdom (and so feel
>>: free to reply privately).
>>:
>>: The catalyst is Deepayan's remark:
>>:
>>: > Histograms were appropriate for drawing density estimates by
>>: > hand in the good old days, but I can imagine very few
>>situations where I
>>: > would not prefer to use smoother density estimates when I
>>have the
>>: > computational power to do so.
>>: >
>>: > Deepayan
>>:
>>: Generally, I agree; but the appearance and thus one's perception and
>>: interpretation of both histograms and density plots depend upon the
>>: parameters chosen for the display (bin boundaries for
>>histograms; bandwidth
>>: and kernel for density plots).
>>
>>If the problem is distrust of the procedure one can simulataneously
>>display the raw data with a rug plot,
>>
>>example(rug)
>>
>>______________________________________________
>>R-help at stat.math.ethz.ch mailing list
>>https://stat.ethz.ch/mailman/listinfo/r-help
>>PLEASE do read the posting guide!
>>http://www.R-project.org/posting-guide.html
>>
>>
>>
>
>______________________________________________
>R-help at stat.math.ethz.ch mailing list
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
>
>
>
>
>
--
Kjetil Halvorsen.
Peace is the most effective weapon of mass construction.
-- Mahdi Elmandjra
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
More information about the R-help
mailing list