Displaying 1 result from an estimated 1 matches for "bestley".
Did you mean:
bentley
2005 Mar 31
2
Using kmeans given cluster centroids and data with NAs
...tres)
[1] 8 22
> dim(data)
[1] 4977 22
> x <- kmeans(data,centres)
Error in kmeans(data, centres) : NA/NaN/Inf in foreign function call
(arg 1)
I have looked extensively through the mail archives but cannot find
if/where someone has provided the answer.
Thanks in advance,
SB
Sophie Bestley
Pelagic Fisheries and Ecosystems
CSIRO Marine Research
GPO Box 1538
Hobart, Tasmania 7001
AUSTRALIA
Phone: +61 3 6232 5048
Fax: +61 3 6232 5053
Email: sophie.bestley@csiro.au
Website: http://www.marine.csiro.au
[[alternative HTML version deleted]]