look_for.Rd
Define what neighbours to look for
look_for(.df, neighbours = 1, within = Inf, from_border = FALSE, error = 0)
Data frame with x
, y
, and/or z
, and value
or component
columns, typically output from look_at()
or look_in()
.
Number of nearest neighbours to look for. Can be Inf
if
within
is finite, in which case all neighbours within that distance are
looked for.
Maximum search distance.
Look for neighbours of border voxels. Defaults to TRUE. If FALSE, minus sampling is performed.
Approximate error bound, for approximate nearest neighbour search.
List with the distance
matrix and xyz
data frame. When looking at
components, additionally a connected
matrix.