getComdist: Get distance between two components
Description
This function calculates the distance between two components.
Usage
getComdist(g1,g2,distance)
Arguments
g1
The distinct values in Component 1.
g2
The distinct values in Component 2.
distance
A K by K matrix, which is the distance matrix on the distinct values and K is the number of distinct values with at least one observation in either group.