On 21.11.2011 07:17, dilshan benaragama wrote:
Hi,  R development team,

I am trying to use PCA in labdsv package.I need to build the ordination plot 
from scratch. I used the following code (which is used in RDA) and I cannot get 
the species (variable centroids)  to the ordination plot, only I can plot 
sample unit scores.Can somone help me on this.

pca.tr1<-pca(pca1,dim=2)
plot(pca.tr1$scores, type="n", main="plot")
text(pca.tr1$scores, display="species", col="blue", pch=16)


I wonder if you read the posting guide. If so, you forgot to follow the advice given there on subject line, reproducibility, clear problem description etc.

Uwe Ligges


Thanks.

Dilshan
        [[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.

______________________________________________
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.

Reply via email to