[R-sig-Geo] splitting a map into areas by number of addresses

2010-08-26 Thread Sven Schmiedel
Dear list, I have the following problem: I have around 1,000,000 addresses of a country and want now to split the area in artificial administrative units with exactly 1,000 addresses per unit. As I did not find a direct way to do this, my idea was to chose randomly 1,000 addresses, use the

Re: [R-sig-Geo] splitting a map into areas by number of addresses

2010-08-26 Thread Nikhil Kaza
Look at knearneigh in spdep Once you figured out the neighbours, you may be able to an algorithm to efficiently partition the dataset. Nikhil Kaza Asst. Professor, City and Regional Planning University of North Carolina nikhil.l...@gmail.com On Aug 26, 2010, at 8:50 AM, Sven Schmiedel

Re: [R-sig-Geo] splitting a map into areas by number of addresses

2010-08-26 Thread Barry Rowlingson
On Thu, Aug 26, 2010 at 1:50 PM, Sven Schmiedel s...@cancer.dk wrote: Dear list, I have the following problem: I have around 1,000,000 addresses of a country and want now to split the area in artificial administrative units with exactly 1,000 addresses per unit. As I did not find a direct