Teah
1
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
Teah
3
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.
system
Closed
5
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.