Further things to do with a neighbours list

  • Count neighbours: lengths(<nb>) (or spdep::card())
  • Compute distances between neighbours: nbdists(<nb>, <points>)
  • Create a spatial neighbourhoods matrix: nb2mat(<nb>, ...)