Home   >   User Resources   >   Online Help   >   apaDistances.WeightedOrUnweighted
 

 

Function index Version 3.0.0

apaDistances.WeightedOrUnweighted(Distances, IsWeighted)

Excel=apaDistances.WeightedOrUnweighted(Distances, IsWeighted)

Result

Returns the distance matrix unchanged (weighted) or as an unweighted matrix with unit distances, i.e. 1 for each non-zero entry and 0 otherwise.

Syntax

Distances: n x n distance matrix

IsWeighted: TRUE to keep the distance information, FALSE to use unit distances