[R] Hunting a histogram variant
peter dalgaard
pdalgd at gmail.com
Thu Jun 22 12:15:13 CEST 2017
Hmmno... The labels on a stem-and-leaf plots are the values. This is just the measurement number: Observations #2,5,6,9 from level 1 had a temperature between 89 and 90, making up the penultimate column of that histogram.
I would conjecture that, like stem-and-leaf, this has fallen out of favour because it doesn't scale well to larger samples. It is fine with 64 observations like this, but with (say) four times as many boxes, you'd lose all legibility.
-pd
> On 22 Jun 2017, at 06:16 , Bert Gunter <bgunter.4567 at gmail.com> wrote:
>
> ?stem
>
> for something close and built in.
>
> Cheers,
> Bert
>
>
> Bert Gunter
>
> "The trouble with having an open mind is that people keep coming along
> and sticking things into it."
> -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
>
>
> On Wed, Jun 21, 2017 at 9:01 PM, S Ellison <S.Ellison at lgcgroup.com> wrote:
>>
>> I'm looking for a histogram variant in which data points are plotted as labelled rectangles 'piled up' to form a histogram. I've posted an example at https://www.dropbox.com/s/ozi8bhdn5kqaufm/labelled_histogram.png?dl=0
>>
>> It seems to have a long pedigree, as I see it (as in this example) in documents going back beyond the '80s. But I've not seen it in recent textbooks. So it may be one of those older graphical displays that's just fallen out of use.
>>
>> General questions:
>> i) Does this thing have a name?
>> ii) Can anyone point me to a literature source for it?
>>
>> ... and the R question:
>> ii) Is it already hiding somewhere in an R package?*
>>
>> S Ellison
>>
>> *If it's not, I'll be adding it to one, hence the hunt for due credit/sources
>>
>>
>>
>> *******************************************************************
>> This email and any attachments are confidential. Any u...{{dropped:8}}
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
--
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Office: A 4.23
Email: pd.mes at cbs.dk Priv: PDalgd at gmail.com
More information about the R-help
mailing list