randomstress(n, ndim, nrep = 100, type = c("ratio", "interval", "ordinal", "mspline"))
## 9 objects, 2 dimensions, interval MDS (100 replications) stressvec <- randomstress(n = 8, ndim = 2, nrep = 100, type = "interval") mean(stressvec)
Run the code above in your browser using DataCamp Workspace