Error in do_one(nmeth) : NA/NaN/Inf in foreign function call (arg 1)

kmeans cannot handle data that has NA values.

The mean and variance are then no longer well defined, and you don’t know anymore which center is closest.

Leave a Comment