st_nb_band: Neighbors from a distance band

View source: R/st_nb_band.R

st_nb_bandR Documentation

Neighbors from a distance band

Description

Creates neighbors based on a distance band.

Usage

st_nb_band(x, lower = 0, upper = 0.01, ...)

Arguments

x

An sf or sfc object.

lower

The lower threshold of the distance band. It is recommended to keep this as 0.

upper

The upper threshold of the distance band.

...

Passed to spdep::dnearneigh().

See Also

Other neighbors: st_contiguity(), st_knn()


JosiahParry/sfweight documentation built on April 4, 2022, 1:52 a.m.