# NOT RUN {
cluster1 <- matrix(c(2,3))
cluster2 <- matrix(c(4,5))
weight1 <- c(0.6,0.4)
weight2 <- c(2,4)
distances(cluster1, cluster2, 'MAN', weight1)
distances(cluster1, cluster2, 'CHE', weight2)
# }
Run the code above in your browser using DataLab