Hello I am trying to run an MDS to create a plot these are my data
A B C D
B_2016 54.67 3.67 10 1
Emb_2016 37.67 10.33 1.67 10.33
Fes_2016 19.33 32.67 2.67 2.33
Ku_2016 0 5.33 1.67 28.33
Ra_2016 6 20.33 11.33 29.33
Ud_2016 8 5.33 1.33 4.33
Ve _2016 84.67 4.67 1 21
Ba _2017 0 3 2 6.97
Emb _2017 0 4 2.77 4.47
Fes_2017 0 0.01 0 0
Ku_2017 0 0.1 0.02 0.16
Ra_2017 0 0 1 11
Ud_2017 0 5 3 4
Ve_2017 0 0 0 0
AND THIS IS MY CODE
mds<-metaMDS(macnally, k=2, distance="bray", autotransform=FALSE, trymax=100)
But I get this error:
Error in FUN(X[[i]], ...) : only defined on a data frame with all numeric variables In addition: Warning message: In Ops.factor(left, right) : ‘<’ not meaningful for factors
Could help me so I can then plot it? Thank you so much