[R-sig-Geo] Plot mean of variable on a map

Karl Ove Hufthammer karl at huftis.org
Fri Dec 17 16:15:28 CET 2010


Aleksandr Andreev wrote:

> I would like to plot the price on the map in a "heat" style plot. The
> natural way to do this by computing a local average price for a
> specified neighborhood around (Lat, Lon) (say, of 0.01 of a degree
> across -- I have enough data to make this as fine as I need).
> 
> Does anyone have suggestions on the best way to do this?

I had the same problems a few months ago. See 
http://thread.gmane.org/gmane.comp.lang.r.geo/9055
for some ideas on how to solve it.

-- 
Karl Ove Hufthammer



More information about the R-sig-Geo mailing list