Hello everyone, This is my first post but I really need help and think R could be the way to go. I have a question regarding R and finding the most "points" in a certain area. I am looking at various places that have a certain point value associated to each place. The data I will be reading in looks like: Latitude1 Longitude1 Points1 Latitude2 Longitude2 Points2 Latitude3 Longitude3 Points3 etc. What I want to do is have an R script run that looks in a "x" mile radius and calculates the total points. Then I want to be able to find the center of the "x" mile radius for the circle with the most points. I am so lost on this that I'm sure I haven't even explained what I want to do very well. Please let me know if I can clarify anything and PLEASE help me. Thank you!! Claw73 -- View this message in context: http://www.nabble.com/Point-Density-calculation-tp25530154p25530154.html Sent from the R help mailing list archive at Nabble.com.
Sorry for the confusion about my question. Here is the actual data I want to analyze: Test Data: 45 40 42.11 N 111 02 32.79 W 5 45 40 31.30 N 111 02 32.55 W 5 45 40 38.29 N 111 02 52.81 W 5 45 40 45.90 N 111 03 25.57 W 5 45 42 52.26 N 110 58 26.36 W 10 45.43 20.60 N 110 58 05.19 W 15 45 49 33.01 N 111 09 36.87 W 20 45 52 25.72 N 111 22 10.17 W 20 45 23 43.73 N 111 19 49.78 W 20 45 21 11.56 N 111 32 45.95 W 15 These are latitudes, longitudes, and a point value. I want to be able to load all the data and determine a five mile radius that has the maximum possible points. I hope this is clearer. Thanks -- View this message in context: http://www.nabble.com/Point-Density-calculation-tp25530154p25530570.html Sent from the R help mailing list archive at Nabble.com.