Warning message: In dist(Data) : NAs introduced by coercion

well it's a warning, not an error. So you should understand it. Look at your input data, then look at your output data and see where the NAs were created. Then look at the help for dist and see if you can determine why NAs are being produced. Your input data may have missing values, or maybe it has character values. It's hard to guess without seeing your data.

3 Likes