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 Jan. 11, 2023, 9:08 a.m.