[R] Dot plots in R

jim holtman jholtman at gmail.com
Sat Nov 24 22:57:19 CET 2007


Does this give you want you want?

x <- sample(1:10)
plot(rep(1:10, x), unlist(sapply(x, seq)), pch=19, cex=3, yaxt='n')


On Nov 24, 2007 4:26 PM, Paul Smith <phhs80 at gmail.com> 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.
>
> Thanks in advance,
>
> Paul
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



-- 
Jim Holtman
Cincinnati, OH
+1 513 646 9390

What is the problem you are trying to solve?



More information about the R-help mailing list