mirror of
https://github.com/msberends/AMR.git
synced 2026-11-16 04:20:53 +01:00
(v1.4.0.9052) replaced all sapply's with type-safe vapply's
This commit is contained in:
1 parent
ccf13dd6c0
commit
526f8afb08
37 files changed
+155
-117
No files matched your search
@@ -306,7 +306,6 @@ pca_calculations <- function(pca_model,
|
||||
d <- pca_model$svd
|
||||
u <- predict(pca_model)$x / nobs.factor
|
||||
v <- pca_model$scaling
|
||||
d.total <- sum(d ^ 2)
|
||||
} else {
|
||||
stop("Expected an object of class prcomp, princomp, PCA, or lda")
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user