File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -77,8 +77,8 @@ match.type <- function(type, ...) {
7777}
7878
7979
80+ # Generic and methods for the extraction of raw, unscaled, variables scores from a Principal Component Analysis object
8081var.scores <- function (x , ... ) {
81- # Generic for the extraction of raw, unscaled, variables scores from a Principal Component Analysis object
8282 UseMethod(" var.scores" )
8383}
8484var.scores.prcomp <- function (x , ... ) { x $ rotation }
@@ -97,8 +97,8 @@ var.scores.pcaRes <- function(x, ...) { x@loadings }
9797var.scores.pca <- function (x , ... ) { x $ c1 }
9898var.scores.rda <- function (x , ... ) { x $ CA $ v }
9999
100+ # Generic and methods for the extraction of raw, unscaled, observations scores from a Principal Component Analysis object
100101obs.scores <- function (x , ... ) {
101- # Generic for the extraction of raw, unscaled, observations scores from a Principal Component Analysis object
102102 UseMethod(" obs.scores" )
103103}
104104obs.scores.prcomp <- function (x , eig , ... ) { t(t(x $ x ) / sqrt(nrow(x $ x ) - 1 ) / sqrt(eig )) }
You can’t perform that action at this time.
0 commit comments