Skip to contents

Apply distance cutoff to NN object

Usage

nn.applyDistanceCutoff(nn, cutoff, keep.less.than = TRUE)

Arguments

nn

An NN object

cutoff

The distance cutoff, in pixels

keep.less.than

If TRUE, distances less than the cutoff value will be kept, otherwise distances greater than the cutoff value will be kept.

Value

An NN object

Scroll to top