Hi, I got the error message: Error in cmdscale(1 - similarity, k = 1) : 'k' must be in {1, 2, .. n - 1} It turned out that similarity was just a scalar and therefore n-1 = 0 :( Maybe the error message could be improved. Bset Sigbert