Dear R users,

I am having trouble using the pca function in the multiv library.
I am trying to generate the values found in $rproj by using $evecs to
calculate linear combinations of my input data.  However, I have been not
been able to correctly calculate the $rproj values.

Using the following standard sample data, why does iris%*%pcprim$evecs[,]
not equal pcprim$rproj?

data(iris)
iris<-as.matrix(iris[,1:4])
pcprim<-pca(iris)

Many thanks,

Scott

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to