powered by
Given a neighbor and weight list, create a listw object.
listw
recreate_listw(nb, wt)
a listw object
a neighbor list object for example as created by st_contiguity().
st_contiguity()
a weights list as created by st_weights().
st_weights()
recreate_listw(guerry_nb$nb, guerry_nb$wt)
Run the code above in your browser using DataLab