[R] dot plot with several points for 2 categories

Deepayan Sarkar deepayan.sarkar at gmail.com
Mon Aug 3 19:53:38 CEST 2009

On Wed, Jul 29, 2009 at 9:11 AM, jaregi<suckale at mpi-cbg.de> wrote:
> Hi Michael, Steve, and 1Rnwb,
> I'm very impressed by the quick replies on the mailer. Thanks a lot for your
> suggestions. They worked very well.
> In general, I have to say that I'm a bit disappointed that in R, like in
> Excel, one basically needs to hack to get a dot blot with categories by
> adding an artificial x value. I was hoping this common type of diagram could
> be generated using a standard function like dotplot or dotchart.

They can, except that these plots are more familiar as "strip plots",
so the relevant functions are stripchart (in the graphics package) and
stripplot (in lattice).


More information about the R-help mailing list