distops 0.1.0
Features
- 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 [.distto subset a distance matrix. The returned object is either of classdistif both row and column indices are identical or of
classmatrixif both row and column indices are
different.
- Provides function find_medoids(D, memberships = NULL)to find medoid(s) of a distance matrix. Ifmembershipsis
provided, one medoid per cluster is returned. Otherwise, a single
overall medoid is returned.