powered by
w2segments takes a binary spatial proximity matrix and associated coordinates. It returns segments connecting the neighbors for plotting purposes
w2segments(w, coords)