Plotting metaMDS results: How do I get a horizontal plot with a one-dimensional MDS?

447 views Asked by At

I'm making a one-dimensional rescaling using the metaMDS function from the vegan package as follows:

mydata <- data.frame(X = sample(1:50), Y = sample(1:50), Z = sample(1:50))
mds <- metaMDS(mydata, distance="euclidian", autotransform=FALSE, k=1)

(This example has just random data, and may not converge, but since the point here is the visualisation, it doesn't matter.)

When I plot this (plot(mds)), I get a nice vertical axis with the original data points and the data dimensions. However, I would like to have the plot rotated so that the axis is horizontal but the labels are still oriented to be vertically readable.

How can I plot a one-dimensional MDS result from metaMDS as a horizontal figure?

0

There are 0 answers