shuffle_nbs {sfdep}R 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


[Package sfdep version 0.2.4 Index]