Re: [R] plot() - thicker points when pair exist more than 1 time?
Knut Krueger wrote: Hi to all, is it possible to show in anyway that point 1,1 is existing more than 1one time? f.e.: f- data.frame(x=c(1,3,5,6,1),y=c(1,2,3,4,1)) plot(f) Hi Knut, Taka a look at cluster.overplot and count.overplot in the plotrix package. Jim __ R-help@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.
[R] plot() - thicker points when pair exist more than 1 time?
Hi to all, is it possible to show in anyway that point 1,1 is existing more than 1one time? f.e.: f- data.frame(x=c(1,3,5,6,1),y=c(1,2,3,4,1)) plot(f) Regards Knut __ R-help@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.
Re: [R] plot() - thicker points when pair exist more than 1 time?
On Apr 24, 2009, at 8:09 AM, Knut Krueger wrote: Hi to all, is it possible to show in anyway that point 1,1 is existing more than 1one time? f.e.: f- data.frame(x=c(1,3,5,6,1),y=c(1,2,3,4,1)) plot(f) Regards Knut Several options: # See ?sunflowerplot sunflowerplot(f) # See ?xyTable referenced in the above coords - xyTable(f) plot(coords$x, coords$y, cex = coords$number) or coords - xyTable(f) plot(f, type = n) text(coords$x, coords$y, labels = coords$number) # See ?jitter plot(jitter(f$x), jitter(f$y)) HTH, Marc Schwartz __ R-help@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.
Re: [R] plot() - thicker points when pair exist more than 1 time?
on suitable devices, you could consider transparency, plot(f,col=alpha(grey,0.8),pch=19) baptiste On 24 Apr 2009, at 14:09, Knut Krueger wrote: f- data.frame(x=c(1,3,5,6,1),y=c(1,2,3,4,1)) plot(f) __ R-help@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.