[R] dot diagram

Liaw, Andy andy_liaw at merck.com
Mon Mar 27 00:43:39 CEST 2006


hist() returns an object that contains information for you to construct what
you want, I believe, so you should be able do something like:

obj <- hist(..., plot=FALSE)

and contruct your dot diagram based on obj.  See the `Value' section of
?hist.

Andy

From: Jinsong Zhao
> 
> Hello,
> 
> I hope to plot my data in a dot diagram, something like the 
> output of the last example of layout function in graphics 
> package. The only difference is that I need the rectangle in 
> histogram is replaced by dot.
> 
> Thanks in advance.
> 
> Best wishes,
> 
> Jinsong Zhao
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list 
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! 
> http://www.R-project.org/posting-guide.html
> 
>




More information about the R-help mailing list