shuffle_nbs: Internal function to shuffle neighbors

View source: R/utils.R

shuffle_nbsR Documentation

Internal function to shuffle neighbors

Description

Used in conditional permutation and the function permute_listw().

Usage

shuffle_nbs(i, n, card)

Arguments

i

the index position of observation i

Value

a nb class object


sfdep documentation built on Sept. 13, 2024, 5:07 p.m.