Re: [R] How to produce this graphic

From: Duncan Murdoch <>
Date: Thu 05 Jan 2006 - 06:54:31 EST

On 1/4/2006 12:30 PM, Lisa Wang wrote:
> Hello there,
> I would like to produce a plot of x<-c(4,5,6),which is the mean of each
> group and y<-c('groupA','groupB','groupC').
> plot (x,y) can not produce any graphics because y is not numerical.
> What should I do to produce this graphic?

dotchart(x,y) does a nice job. See ?dotchart for a lot of optional arguments to change the look of it.

Duncan Murdoch mailing list PLEASE do read the posting guide! Received on Thu Jan 05 08:10:41 2006

This archive was generated by hypermail 2.1.8 : Thu 05 Jan 2006 - 14:04:21 EST