[R] Dot plot similar to StatKey

S Ellison S.Ellison at lgcgroup.com
Tue Jul 30 14:58:30 CEST 2013


> 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}}



More information about the R-help mailing list