Usage
get_spatial_neighbours(
x,
k = 8,
maxdist = 1e+05,
progress = TRUE,
parallel = 1
)
Arguments
- x
An sf
object
- k
The number of nearest neighbours to retrieve
- maxdist
The maximum distance to get nearest neighbours from
- progress
Print progess bar?
- parallel
How many parallel cores to use.
Value
A list of neighbour indices