[R] cmdscale error message - k' must be in {1, 2, .. n - 1}

Sigbert Klinke sigbert at wiwi.hu-berlin.de
Mon Feb 22 12:39:18 CET 2010


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



More information about the R-help mailing list