Skip to contents

Coerce bigKNN outputs to sparse-triplet form

Usage

as_triplet(x, include_distance = TRUE)

Arguments

x

A bigKNN result or graph object.

include_distance

Logical flag controlling whether distances are kept when coercing raw kNN or radius results.

Value

A triplet list with components i, j, x, and Dim.