Compute subset faster than regular `[[` on a dist object. This is from proxy package (not exported by proxy).

dist_subset(x, subset, ...)

Arguments

x

dist object

subset

index of the subset. This has to be unique.

...

additional arguments

Value

returns a dist subset