(v1.4.0.9052) replaced all sapply's with type-safe vapply's

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2020-12-28 22:24:33 +01:00
1 parent ccf13dd6c0
commit 526f8afb08
37 files changed
+155 -117

No files matched your search

-1
View File
@@ -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")
}