[R] Frequency plot --- stacked symbols

Karl Ove Hufthammer karl at huftis.org
Tue Feb 8 09:26:57 CET 2011


David Arnold wrote:

> We were wondering how we could make a stacked frequency diagram such as
> this one:
> 
> http://msemac.redwoods.edu/~darnold/math15/liz.pdf

See the ‘dots’ function in the ‘TeachingDemos’ package or the ‘dotPlot’ (not 
to be confused with ‘dotplot’) function in the ‘BHH2’ package. Note that 
both packages define a ‘dots’ function, and one of them with mask the other 
if you load both packages.

You might also be interested in the ‘stem’ function (part of the default R 
packages).

-- 
Karl Ove Hufthammer



More information about the R-help mailing list