R/alfa.pca.R

Defines functions alfa.pca

Documented in alfa.pca

alfa.pca <- function(x, a, center = TRUE, scale = TRUE, k = NULL, vectors = FALSE) {
  x <- Compositional::alfa(x, a, h = FALSE)$aff
  Rfast2::pca(x, center, scale, k, vectors )
}

Try the Compositional package in your browser

Any scripts or data that you put into this service are public.

Compositional documentation built on Dec. 4, 2025, 9:07 a.m.