[R] how does predict.princomp work?

Roger D. Peng rpeng at jhsph.edu
Sat Mar 26 20:19:15 CET 2005


Try doing

getS3method("predict", "princomp")

-roger

ronggui wrote:
> i want to know how the predict function to caculate the principal
> component,especially when has the newdata argument,i try to find
> out,but i fail.anyone knows?thank you!
> 
> ______________________________________________ 
> R-help at stat.math.ethz.ch mailing list 
> https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the
> posting guide! http://www.R-project.org/posting-guide.html
>




More information about the R-help mailing list