In the next update of ecodist, nmds.min() will return the stress and r2 for the selected configuration. Thanks for the suggestion.
Sarah 2012/2/2 Gian Maria Niccolò Benucci <[email protected]>: > Thank you, you were of great help. > > Cheers, > > G. > > 2012/2/2 Sarah Goslee <[email protected]> > >> Are you using ecodist? >> >> If so, you need to look at iris.nmds to get the stress and the >> r2. >> >> min(iris.nmds$stress) >> iris.nmds$r2[which.min(iris.nmds$stress)] >> >> The advantage of nmds.min() is that it lets you choose >> a particular dimension solution rather than the lowest >> available. >> >> For your example, the same thing can be achieved with >> iris.nmds$conf[[which.min(iris.nmds$stress)]] >> >> Sarah >> -- Sarah Goslee http://www.functionaldiversity.org _______________________________________________ R-sig-ecology mailing list [email protected] https://stat.ethz.ch/mailman/listinfo/r-sig-ecology
