My code is giving me the error "warning: nearest point already identified". What am i doing wrong?
dim(Animals) # rows and column
head(Animals, n = 10) # top 10 rows
plot(Animals$body, Animals$brain, xlab = "Body Weight in Kg", ylab = "Brain Weight in Grams", main = "Brain and Body Weights of Land Animals", sub = "Animals Data", col = "magenta", pch = 16)
identify(Animals$body, Animals$brain, labels = row.names(Animals))