Hello to all, I'm new to R so I have a lot of problems with it, but I'll only ask the main one. I have clustered an environmental matrix with 2 different methods, and I'd like to plot them in a PCA and a db-RDA. I mean, I want see these clusters in the plots like points of differents colours, together with the rest information of the plot, but I don't know how to do this. I've checked a lot of bibliography and forums, and I haven't found the solution... it can't be so hard! Well, thanks in advance! :) -- View this message in context: http://r.789695.n4.nabble.com/Clustering-analysis-with-ordination-plots-tp4598695.html Sent from the R help mailing list archive at Nabble.com.
On 30.04.2012 18:44, borinot wrote:> Hello to all, > > I'm new to R so I have a lot of problems with it, but I'll only ask the main > one. > > I have clustered an environmental matrixWe do not know what that is. Where is the example data? See the posting guide.> with 2 different methods,Which? Where is the reproducible code? See the posting guide.> and I'd > like to plot them in a PCAPCA is a method for reduction of dimensions. Frequently, if reduction works nicely, you can find clusters when plotting the first few PCs. But "plot them [clusters] in a PCA" is semantically invalid.> and a db-RDA.What is a db-RDA?> I mean, I want see these clusters > in the plots like points of differents colours, together with the rest > information of the plot, but I don't know how to do this.Tells us how you clustered the data and how you visualized it so far and we may be able to show you how to go ahead.> I've checked a lot of bibliography and forums, and I haven't found the > solution... it can't be so hard! > > Well, thanks in advance! :)But really, read the posting guide in advance of follow up questions: It helps to improve the way you ask questions and hence you will probably get more useful answers. Uwe Ligges> -- > View this message in context: http://r.789695.n4.nabble.com/Clustering-analysis-with-ordination-plots-tp4598695.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help at 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.
Please read the posting guide for future questions. I presume you mean using the vegan package? If so, then see this blog post of mine which shows how to do something similar: http://wp.me/pZRQ9-73 If you post more details and an example I will help further if the blog post is not sufficient for you to get the solution you want. G On Mon, 2012-04-30 at 09:44 -0700, borinot wrote:> Hello to all, > > I'm new to R so I have a lot of problems with it, but I'll only ask the main > one. > > I have clustered an environmental matrix with 2 different methods, and I'd > like to plot them in a PCA and a db-RDA. I mean, I want see these clusters > in the plots like points of differents colours, together with the rest > information of the plot, but I don't know how to do this. > > I've checked a lot of bibliography and forums, and I haven't found the > solution... it can't be so hard! > > Well, thanks in advance! :) > > -- > View this message in context: http://r.789695.n4.nabble.com/Clustering-analysis-with-ordination-plots-tp4598695.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > R-help at 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. >-- %~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~% Dr. Gavin Simpson [t] +44 (0)20 7679 0522 ECRC, UCL Geography, [f] +44 (0)20 7679 0565 Pearson Building, [e] gavin.simpsonATNOSPAMucl.ac.uk Gower Street, London [w] http://www.ucl.ac.uk/~ucfagls/ UK. WC1E 6BT. [w] http://www.freshwaters.org.uk %~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%