powered by
Double Center a distance matrix
DblCenterDist(Y)
a cross-product matrix (if the distance is Euclidean)
a "distance" matrix,
Y <- toeplitz(c(0, 3, 3)) DblCenterDist(Y)
Run the code above in your browser using DataLab