R/weights.R
read_swm.Rd
Create a spatial weights object from a .SWM file
read_swm(file_path, id_vec = numeric())
The file paht of the .SWM file
The id_vec is the id values used in the .SWM file. e.g. c(0,1,2,3,...)
A weights object