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 Oct. 9, 2024, 5:10 p.m.