Skip to content

Commit 3de1313

Browse files
committed
Rewrite of fortify_pca
Use sub-functions with methods to extract eigenvalues, scores and data. This allows to have just one function called for all methods. Add scaling based on the conventions in vegan. Make sure cos2 and contrib still follow the conventions of FactoMineR. Use roxygen better for the documentation.
1 parent 92d6f0e commit 3de1313

File tree

7 files changed

+301
-549
lines changed

7 files changed

+301
-549
lines changed

NAMESPACE

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,20 @@ S3method(autoplot,PCA)
22
S3method(autoplot,pcaRes)
33
S3method(autoplot,prcomp)
44
S3method(autoplot,rda)
5+
S3method(eigenvalues,PCA)
6+
S3method(eigenvalues,pca)
7+
S3method(eigenvalues,pcaRes)
8+
S3method(eigenvalues,prcomp)
9+
S3method(eigenvalues,rda)
510
S3method(fortify,PCA)
11+
S3method(fortify,pca)
612
S3method(fortify,pcaRes)
713
S3method(fortify,prcomp)
814
S3method(fortify,rda)
915
S3method(plot,ggplot_list)
1016
S3method(print,ggplot_list)
1117
export(autoplot_pca)
18+
export(eigenvalues)
1219
importFrom(ggplot2,autoplot)
1320
importFrom(ggplot2,fortify)
1421
importFrom(grid,arrow)

0 commit comments

Comments
 (0)