code

rm(list=ls())
library(vegan)
library(MASS)

data(varespec)
print(varespec)
str(varespec)


#PCA
vare.pca  <-  rda(varespec)
vare.pca
plot(vare.pca)
sum(apply(varespec, 2, var))
biplot(vare.pca,  scaling  =  -1)

Elaine

On Sat, Aug 14, 2010 at 10:48 AM, Ben Bolker <bbol...@gmail.com> wrote:

> elaine kuo <elaine.kuo.tw <at> gmail.com> writes:
>
> > Pls kindly advise what scaling is in plot.
> > Sometime it could be negative but sometimes it might be positive
> > .(I guess it is the proportion between the plot and the margin)
>
>   Your question is unclear. Please give more context and/or details.
>
> ______________________________________________
> 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.
>

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

Reply via email to