vegdist function error code: invalid distance method

Hello, I'm am new to R and I am trying to convert my data into a Euclidean dissimilarity matrix using the vegdist function.

This is the code I ran
vegdist(T_data, method="Euclidean", binary=FALSE, diag=FALSE, upper=FALSE, na.rm = FALSE)

but I keep getting an error that the distance method is invalid. Can someone please help me with the code?

Thanks in advance!

euclidean

Everything in R is case sensitive

Thank you! That was helpful. Also, do you know why it's only outputting for some of my individuals but ommitted 81 rows? Below is a screenshot.

Impossible for me to tell from the screen shot. See the FAQ: How to do a minimal reproducible example reprex for beginners.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.