Lineth Contreras wrote on 09/23/2011 11:35:10 AM: > > Hello R-user community, > > I am applying the function metaMDS. However, I would like to know if there > is any option to export the data I got from the axis as a data frame. > > I have tried as.data.frame.list but is not working. Any suggestion? > > Thank you in advance for your help, > > Lineth
When you say "the data I got from the axis" do you mean the coordinates contained in the $points of the resulting object? If so, something like this should work (using the example provide in ?metaMDS): data(dune) library(MASS) sol <- metaMDS(dune) df <- as.data.frame(sol$points) Jean [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.