update_weights | R Documentation |
Update meta data of a spatial weights. This function can be used after calling 'set_neighbor()' function .
update_weights(gda_w)
gda_w |
A Weight object |
## Not run:
new_w <- create_weights(10)
set_neighbors(new_w, 1, c(2,3))
update_weights(new_w)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.