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

Paulo Justiniano Ribeiro Jr paulojus at c3sl.ufpr.br
Fri Nov 12 10:50:55 CET 2010


Dear all

apologies for my post in Portuguese.
I got confused between email lists and replying as this was
the Brazilian R list

sorry for my mistake


Paulo Justiniano Ribeiro Jr
LEG (Laboratorio de Estatistica e Geoinformacao)
Universidade Federal do Parana
Caixa Postal 19.081
CEP 81.531-990
Curitiba, PR  -  Brasil
Tel: (+55) 41 3361 3573
VOIP: (+55) (41) (3361 3600) 1053 1066
Fax: (+55) 41 3361 3141
e-mail: paulojus AT  ufpr  br
http://www.leg.ufpr.br/~paulojus

On Thu, 11 Nov 2010, Paulo Justiniano Ribeiro Jr wrote:

> Uma laternativa soimples para visualizacao descrituicva sem modelagem alguma 
> seria o sufo da funcao interpp() do pacote akima para griar um grid recular 
> para visualizacao com image()
>
> anternativa sao muitsas , opor exemplo suar um ajuste com GAM
>
>
>
> Paulo Justiniano Ribeiro Jr
> LEG (Laboratorio de Estatistica e Geoinformacao)
> Universidade Federal do Parana
> Caixa Postal 19.081
> CEP 81.531-990
> Curitiba, PR  -  Brasil
> Tel: (+55) 41 3361 3573
> VOIP: (+55) (41) (3361 3600) 1053 1066
> Fax: (+55) 41 3361 3141
> e-mail: paulojus AT  ufpr  br
> http://www.leg.ufpr.br/~paulojus
>
> On Thu, 11 Nov 2010, Aleksandr Andreev wrote:
>
>> Hello folks!
>> 
>> I'm trying to create some nice graphs for summary statistics in a
>> paper. Here is the issue.
>> 
>> I have shapefiles of St Petersburg, Russia, which I can import via
>> 
>> spb <- readShapePoly("/home/sasha/Documents/maps/spb.shp")
>> 
>> I also have data on apartments in the city. For each apartment, I have
>> the latitude, longitude, and the price.
>> 
>> 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?
>> 
>> Thanks!
>> 
>> Aleks
>> 
>> ---------------
>> Aleksandr Andreev
>> Graduate Student -- Department of Economics
>> University of North Carolina at Chapel Hill
>> 
>> _______________________________________________
>> R-sig-Geo mailing list
>> R-sig-Geo at stat.math.ethz.ch
>> https://stat.ethz.ch/mailman/listinfo/r-sig-geo
>> 
>



More information about the R-sig-Geo mailing list