In reply to Rajendra.

Thanks for your comment, Rajendra! We will consider writing a blog post on how to create a spatial weights matrix in the near future. Please stay tuned.