[R] xtable prcomp

Riccardo Romoli ric.romoli at gmail.com
Wed Feb 22 23:21:35 CET 2012


Hi, I need to export to LaTex the summary of a PCA. So:

myPCA <- prcomp(myDF)
mySummary <- summary(myPCA)
#
print(xtable(mySummary))

How can I export to LaTeX not all the summary but only the first nPCs??

Best
Riccardo



More information about the R-help mailing list