Re: [R] Dot plots in R

2007-11-26 Thread Adrian Dusa
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

Re: [R] Dot plots in R

2007-11-24 Thread Richard M. Heiberger
Yes, with the HH package. require(HH) dotplot(sample(0:9, 50, replace=TRUE), panel=panel.dotplot.tb) dotplot(rep(1:5,10) ~ sample(0:9, 50, replace=TRUE), panel=panel.dotplot.tb) dotplot(rep(1:5,10) ~ sample(0:9, 50, replace=TRUE) | rep(c(1,1,1,2,2),10), panel=panel.dotplot.tb) dotplot(~ sample(0:9

Re: [R] Dot plots in R

2007-11-24 Thread Paul Smith
On Nov 24, 2007 10:11 PM, A. Beaujean <[EMAIL PROTECTED]> wrote: > ?stripchart shows the at command > e.g., > stripchart(data, method="stack", pch=16, at=0) That is perfect! Thanks. Paul __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman

Re: [R] Dot plots in R

2007-11-24 Thread A. Beaujean
?stripchart shows the at command e.g., stripchart(data, method="stack", pch=16, at=0) On Nov 24, 2007 4:02 PM, Paul Smith <[EMAIL PROTECTED]> wrote: > On Nov 24, 2007 9:57 PM, jim holtman <[EMAIL PROTECTED]> wrote: > > Does this give you want you want? > > > > x <- sample(1:10) > > plot(rep(1:10,

Re: [R] Dot plots in R

2007-11-24 Thread jim holtman
You can play around with 'ylim' and 'cex'. On Nov 24, 2007 5:02 PM, Paul Smith <[EMAIL PROTECTED]> wrote: > On Nov 24, 2007 9:57 PM, jim holtman <[EMAIL PROTECTED]> wrote: > > Does this give you want you want? > > > > x <- sample(1:10) > > plot(rep(1:10, x), unlist(sapply(x, seq)), pch=19, cex=3,

Re: [R] Dot plots in R

2007-11-24 Thread Paul Smith
On Nov 24, 2007 9:57 PM, jim holtman <[EMAIL PROTECTED]> wrote: > 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 <[EMAIL PROTECTED]> wrote: > > Dear All, > > > > Can R produce

Re: [R] Dot plots in R

2007-11-24 Thread jim holtman
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 <[EMAIL PROTECTED]> wrote: > Dear All, > > Can R produce dot plots like the one of the following picture: > > http://en.wikipedia.org/wiki/I

Re: [R] Dot plots in R

2007-11-24 Thread A. Beaujean
stripchart would probably work, e.g., data<-matrix(c(rep(1,4),rep(2,4),rep(3,10),rep(4,8),rep(5,11)), ncol=1) stripchart(data, method="stack", pch=16) On Nov 24, 2007 3:26 PM, Paul Smith <[EMAIL PROTECTED]> wrote: > Dear All, > > Can R produce dot plots like the one of the following picture: > >

Re: [R] Dot plots in R

2007-11-24 Thread Deepayan Sarkar
On 11/24/07, Paul Smith <[EMAIL PROTECTED]> 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. Try ?stripchart -Deepayan ___

[R] Dot plots in R

2007-11-24 Thread Paul Smith
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@r-project.org mailing list https://s