[R-sig-Geo] Lightning density map

Adrian Antonescu bogdan.antonescu at manchester.ac.uk
Mon Feb 25 23:00:07 CET 2013


Hi,

Two weeks ago I have asked a question regarding the use of R for plotting lightning density maps. Thanks to you answers I was able to go one step further.
Attached is the .R script and a sample of the data. The script is counting the number of lightning strikes in hexagons, and then is plotting the hexagons over Europe.
To obtain the lightning density I need the area of the hexagons. Could you please help me on how to calculate the area of the hexagons? Also, how can I obtain the
number of days with lightning  in each hexagons?

Thank you very much.

Cheers,
Bogdan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lightning.r
Type: application/octet-stream
Size: 1687 bytes
Desc: lightning.r
URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20130225/0f490a85/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sample_data.csv
Type: application/vnd.ms-excel
Size: 1596 bytes
Desc: sample_data.csv
URL: <https://stat.ethz.ch/pipermail/r-sig-geo/attachments/20130225/0f490a85/attachment.xlb>


More information about the R-sig-Geo mailing list