Learn R Programming

sfdep (version 0.2.5)

shuffle_nbs: Internal function to shuffle neighbors

Description

Used in conditional permutation and the function permute_listw().

Usage

shuffle_nbs(i, n, card)

Value

a nb class object

Arguments

i

the index position of observation i