- Provides functions
use_distops()
anduse_distance()
for package developers to define TBB-parallelized functions to compute pairwise distance matrices using a custom C++-implemented distance function. - Provides subset operator
[.dist
to subset a distance matrix. The returned object is either of classdist
if both row and column indices are identical or of classmatrix
if both row and column indices are different. - Provides function
find_medoids(D, memberships = NULL)
to find medoid(s) of a distance matrix. Ifmemberships
is provided, one medoid per cluster is returned. Otherwise, a single overall medoid is returned.