[R] Dot plots in R

Adrian Dusa dusa.adrian at gmail.com
Mon Nov 26 14:25:43 CET 2007


On Saturday 24 November 2007, Paul Smith wrote:
> Dear All,
> Can R produce dot plots like the one of the following picture:
> http://en.wikipedia.org/wiki/Image:Dotplot_of_random_values.png
> ?
> I have tried dotchart, but no success.

I'm coming late to this thread, but I believe what Paul wants is better suited 
by the DOTplot() function from the UsingR package: it looks exactly the same 
as the web image and it has no axes, as Paul wants in a later message.

x <- sample(1:10, 30, replace=T)
library(UsingR)
DOTplot(x)

Hth,
Adrian


-- 
Adrian Dusa
Romanian Social Data Archive
1, Schitu Magureanu Bd
050025 Bucharest sector 5
Romania
Tel./Fax: +40 21 3126618 \
          +40 21 3120210 / int.101



More information about the R-help mailing list