Re: [R] "Raw" histogram plots

From: Frank E Harrell Jr <>
Date: Wed, 27 Feb 2008 08:43:00 -0600

Andre Nathan wrote:
> On Wed, 2008-02-27 at 14:15 +1300, Peter Alspach wrote:

>> If I understand you correctly, you could try a barplot() on the result
>> of table().

> Hmm, table() does the counting exactly the way I want, i.e., just
> counting individual values. Is there a way to extract the counts vs. the
> values from a table, so that I can pass them as the x and y arguments to
> plot()?
> Thanks,
> Andre

Also take a lot at the Hmisc package's spike histogram-related functions such as histSpike and scat1d.

Frank E Harrell Jr   Professor and Chair           School of Medicine
                      Department of Biostatistics   Vanderbilt University

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Wed 27 Feb 2008 - 14:49:49 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 27 Feb 2008 - 15:30:17 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive