Learn R Programming

CspStandSegmentation (version 0.2.0)

fast_unlist_dist: helper function to unlist distances computed by dbscan::frNN

Description

extracts the distances from a nested list created by dbscan::frNN

Usage

fast_unlist_dist(list, l)

Value

Returns a vector with the values in the list.

Arguments

list

a list element created by dbscan::frNN

l

the expected length of the result

Author

Julian Frey <julian.frey@iww.uni-freiburg.de>