Skip to content
Prev 178213 / 398506 Next

plot() - thicker points when pair exist more than 1 time?

On Apr 24, 2009, at 8:09 AM, Knut Krueger wrote:

            
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