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

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to