Sample Size of Dissimilarity Like Object
sizeDiss.RdReturns the number of observations (sample size) corresponding to a dissimilarity like object, or equivalently, the number of rows or columns of a matrix when only the lower or upper triangular part (without diagonal) is given.
It is nothing else but the inverse function of \(f(n) = n(n-1)/2\).
See also
dissimilarity.object and also
as.dist for class dissimilarity and
dist objects which have a Size attribute.