[R] Count the number of unique days

bogdan_antonescu bogdan.antonescu at manchester.ac.uk
Mon Feb 24 13:17:47 CET 2014

Hi All, 

I am working on a script to that is producing a lightning density map (numer
of lightning flashes per area) based on a data set containing:
date(year/month/day), time(hh/mm/ss), latitude, and longitude for each
lightning flash. The attaches script is producing this map using a hexagonal
grid. I am wondering if it is also possible to count the number of unique
days in each grid cell, in order to produce a map with the number of day
with lightning. 

script: https://dl.dropboxusercontent.com/u/51871539/lightning_density.r
data sample: https://dl.dropboxusercontent.com/u/51871539/lightning_test.csv

Thank you very much for your help.


View this message in context: http://r.789695.n4.nabble.com/Count-the-number-of-unique-days-tp4685740.html
Sent from the R help mailing list archive at Nabble.com.

More information about the R-help mailing list