Displaying 1 result from an estimated 1 matches for "newdmat".
Did you mean:
newdat
2003 Oct 07
0
NaN values returned by cmdscale
...this problem, and is this
the best way to solve it?
Many thanks,
Janet Manry
Initial distance matrix:
================
[1,] 0.00000000 0.080600084 0.075761312
[2,] 0.08060008 0.000000000 0.004737846
[3,] 0.07576131 0.004737846 0.000000000
Function call:
============
coordinates <- sammon(newDmat,trace=FALSE)$points
Error message:
===============
Error in sammon(newDmat, trace = FALSE) : NA/NaN/Inf in foreign
function call (arg 4)
In addition: Warning messages:
1: some of the first2eigenvalues are < 0 in: cmdscale(d, k)
2: NaNs produced in: sqrt(ev)
Output from using just cmdscale on t...