[R] plotting overlapping data points

Antonio Olinto aolinto at bignet.com.br
Sun Nov 18 16:56:19 CET 2001


> I am just learning to use R.  The data from my current project are
> integer-valued.  I am able to create scatterplots, but I would like to
> have some indication on the plots when multiple data points overlap at
> the same x-y coordinate. SPSS uses 'petals', and other packages use
> jitter.  Are there similar options in R?  

You may also try

x<-c(2,2,3,3,5)
y<-c(2,2,4,4,7)
sunflowerplot(x,y) 

See ?sunflowerplot for details.

Antonio Olinto
Sao Paulo Fisheries Institute
BRAZIL

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list