powered by
This function computes and returns the distance matrix computed by using the simple matrching distance.
matching(x, y)
A data frame/ matrix.
A second data frame/ matrix.
This is a function to compute simple matching distance. It returns a matrix of distance objects, i.e n x n.
# NOT RUN { set.seed(1) a <- matrix(sample(1:2, 7*3, replace = TRUE), 7, 3) matching(a, a) # }
Run the code above in your browser using DataLab