update_weights: Update meta data of a spatial weights

View source: R/weights.R

update_weightsR Documentation

Update meta data of a spatial weights

Description

Update meta data of a spatial weights. This function can be used after calling 'set_neighbor()' function .

Usage

update_weights(gda_w)

Arguments

gda_w

A Weight object

Examples

## Not run: 
new_w <- create_weights(10)
set_neighbors(new_w, 1, c(2,3))
update_weights(new_w)

## End(Not run)

GeoDaCenter/rgeoda documentation built on Dec. 20, 2024, 11:18 p.m.