Skip to contents

Coerce bigKNN outputs to edge-list form

Usage

as_edge_list(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 data frame with columns from, to, and either distance or weight.