Skip to content
Prev 3437 / 7419 Next

Vegan metaMDS: unusual first run stress values with large data set

Hello R-Community,

First my thanks to Ewan Isherwood who turned our attention to this issue and sent his data file to us for analysing the situation. 

It seems that the default convergence criteria are too slack in monoMDS() that was the ordination engine of metaMDS() in this case. Good news are that you can change those criteria by adding argument 'sfgrmin' to the metaMDS() call (this is documented in ?monoMDS). The following command seems to work:
The default was 'sfgrmin = 1e-5' which was so slack the iteration stopped early and did not really converge close to the solution. With this option you can find that the correct stress is of magnitude 0.029 which is much lower than reported below. Moreover, the stresses of one-dimensional and two-dimensional solutions are very close to each other. (There was one outlier (P1763E) which only had one species (CHICRA) that occurred only in four other sites and distorted the results.)

I advice *against* using 'zerodist = "add"': it is not needed with monoMDS. Identical (distance = 0) sites will have identical scores if you do not use this argument. Using 'zerodist = "add"' is only necessary with MASS::isoMDS() that is unable to handle zero distances.

We have changed the default of 'sfgrmin' in http://www.r-forge.r-project.org/ so that you should not see this problem in the next vegan releases.

Cheers, Jari Oksanen
On 05/12/2012, at 21:15 PM, Ewan Isherwood wrote: