Re: [R] Plotting sum rather than count in hexbin

2014-10-19 Thread Camilo Mora
I figure out a way to display the hexbins color coded proportional to a third attribute of the points falling on a given hexbin. I share it for future reference or in case anyone has a way to improve it. Cheers C library(plotrix) library(hexbin) #creates a

Re: [R] Plotting sum rather than count in hexbin

2014-10-19 Thread Camilo Mora
. Thanks again, Camilo From: Jim Lemon Sent: Sunday, October 19, 2014 10:27 AM To: r-help@r-project.org Cc: Camilo Mora Subject: Re: [R] Plotting sum rather than count in hexbin On Sun, 19 Oct 2014 08:09:28 AM Camilo Mora wrote: > Hi everyone, > > Th

Re: [R] Plotting sum rather than count in hexbin

2014-10-19 Thread Jim Lemon
On Sun, 19 Oct 2014 08:09:28 AM Camilo Mora wrote: > Hi everyone, > > This may be a trivial solution but I would appreciate any help. > > I have a database with three variables. I would like to plot the first two > variables in a xy plot making the color of points proportional to the > values in

[R] Plotting sum rather than count in hexbin

2014-10-19 Thread Camilo Mora
Hi everyone, This may be a trivial solution but I would appreciate any help. I have a database with three variables. I would like to plot the first two variables in a xy plot making the color of points proportional to the values in the third variable. Given that many points overlap, I decided