Calculate the NMS Result with the Smallest Stress from Various Random Starts
This function provides a simplified version of the method of calculating NMS results implemented by the function metaMDS (vegan).
NMSrandom(x,perm=100,k=2,stressresult=F,method="isoMDS")
This function is an easier method of calculating the best NMS configuration after various random starts than implemented in the metaMDS function (vegan). The function uses a distance matrix (as calculated for example by function vegdist from a community data set) and calculates random starting positions by function initMDS (vegan) analogous to metaMDS.
Roeland Kindt (World Agroforestry Centre)
Kindt, R. & Coe, R. (2005) Tree diversity analysis: A manual and software for common statistical methods for ecological and biodiversity studies.
library(vegan)
library(MASS)
data(dune)
distmatrix <- vegdist(dune)
Ordination.model1 <- NMSrandom(distmatrix,perm=100,k=2)
Ordination.model1 <- add.spec.scores(Ordination.model1,dune,
method='wa.scores')
Ordination.model1Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.