Hi, I'd like to use R to produce the following plot: dotplot.jpeg <http://r.789695.n4.nabble.com/file/n4672628/dotplot.jpeg> This was constructed using StatKey at: http://www.lock5stat.com/statkey/bootstrap_1_quant/bootstrap_1_quant.html <http://www.lock5stat.com/statkey/bootstrap_1_quant/bootstrap_1_quant.html> The data used was AtlantaCommute (Time) and I generated 1000 bootstrap samples of size 500 with replacement. I'd really like to learn how to make such a dotplot in R. Any thoughts? Thanks. -- View this message in context: http://r.789695.n4.nabble.com/Dot-plot-similar-to-StatKey-tp4672628.html Sent from the R help mailing list archive at Nabble.com.
On 07/30/2013 04:21 PM, David Arnold wrote:> Hi, > > I'd like to use R to produce the following plot: > > dotplot.jpeg<http://r.789695.n4.nabble.com/file/n4672628/dotplot.jpeg> > > This was constructed using StatKey at: > > http://www.lock5stat.com/statkey/bootstrap_1_quant/bootstrap_1_quant.html > <http://www.lock5stat.com/statkey/bootstrap_1_quant/bootstrap_1_quant.html> > > The data used was AtlantaCommute (Time) and I generated 1000 bootstrap > samples of size 500 with replacement. I'd really like to learn how to make > such a dotplot in R. > > Any thoughts? >Hi David, Have a look at the dotplot.mtb function in plotrix. Jim
> I'd like to use R to produce the following plot: > > dotplot.jpeg > <http://r.789695.n4.nabble.com/file/n4672628/dotplot.jpeg> >x<-rnorm(500) xr <- round(x, 1) stripchart(xr, method="stack", pch=19) will do this if the data are rounded appropriately. You may have some fun with 'appropriately'. Tinker with ylim to get the axis limits right; stripchart's baseline is at 1 for a single group. S Ellison ******************************************************************* This email and any attachments are confidential. Any use...{{dropped:8}}
geom_dotplot() in the ggplot2 package perhaps? ggplot(mtcars, aes(x = mpg)) + geom_dotplot() John Kane Kingston ON Canada> -----Original Message----- > From: dwarnold45 at suddenlink.net > Sent: Mon, 29 Jul 2013 23:21:26 -0700 (PDT) > To: r-help at r-project.org > Subject: [R] Dot plot similar to StatKey > > Hi, > > I'd like to use R to produce the following plot: > > dotplot.jpeg <http://r.789695.n4.nabble.com/file/n4672628/dotplot.jpeg> > > This was constructed using StatKey at: > > http://www.lock5stat.com/statkey/bootstrap_1_quant/bootstrap_1_quant.html > <http://www.lock5stat.com/statkey/bootstrap_1_quant/bootstrap_1_quant.html> > > The data used was AtlantaCommute (Time) and I generated 1000 bootstrap > samples of size 500 with replacement. I'd really like to learn how to > make > such a dotplot in R. > > Any thoughts? > > Thanks. > > > > -- > View this message in context: > http://r.789695.n4.nabble.com/Dot-plot-similar-to-StatKey-tp4672628.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > 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.____________________________________________________________ GET FREE SMILEYS FOR YOUR IM & EMAIL - Learn more at http://www.inbox.com/smileys Works with AIM?, MSN? Messenger, Yahoo!? Messenger, ICQ?, Google Talk? and most webmails