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. Cheers, Bogdan -- 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. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.