R/weights.R
set_neighbors_with_weights.Rd
Set neighbors and the associated weights values for idx-th observation, idx starts from 1
set_neighbors_with_weights(gda_w, idx, nbrs, wvals)
if (FALSE) { # \dontrun{
new_w <- create_weights(10)
set_neighbors(new_w, 1, c(2,3))
update_weights(new_w)
} # }