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


JosiahParry/sfdep documentation built on Sept. 7, 2024, 6:15 a.m.