distancematrix function

Calculate categorical distance matrix for discrete data