Hi,
I have a data set of about 2500 hospitals and their geocoordinates (longitude, latitude). In order to measure the number of hospitals within a 10 km radius of each hospital, I want to create a distance matrix. I found some code on the internet using spatwmat to create a distance matrix.
However, I do constantly receive error messages, e.g. "matrix operation not found". Can anyone help me on this or suggest a different way to create such a distance matrix?
Many thanks in advance.
Jan
I have a data set of about 2500 hospitals and their geocoordinates (longitude, latitude). In order to measure the number of hospitals within a 10 km radius of each hospital, I want to create a distance matrix. I found some code on the internet using spatwmat to create a distance matrix.
However, I do constantly receive error messages, e.g. "matrix operation not found". Can anyone help me on this or suggest a different way to create such a distance matrix?
Many thanks in advance.
Jan
Comment