dist.n: Compute the Number of Objects from the Number of Slots

Description Usage Arguments Value See Also Examples

Description

Given the number of slots of a distance matric, get the number of objects whose distance is computed. This is the inverse function to dist.slots.

Usage

1
dist.n(slots)

Arguments

slots

the number of slots in a distance matrix

Value

the number of objects whose distances are stored in the matrix

See Also

dist.slots

Examples

1
2
3
4
dist.slots(10)
# 45
dist.n(45)
# 10

thomasWeise/distanceR documentation built on May 14, 2019, 7:35 a.m.