Re: [R] xtable prcomp

2012-02-23 Thread Charles Roosen
-Original Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Riccardo Romoli Sent: 22 February 2012 23:22 To: r-help@r-project.org Subject: [R] xtable prcomp Hi, I need to export to LaTex the summary of a PCA. So: myPCA <- prcomp(myDF) mySummary

[R] xtable prcomp

2012-02-22 Thread Riccardo Romoli
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 __ R-help@r-project.org mailing