R/alr.all.R

Defines functions alr.all

Documented in alr.all

alr.all <- function(x) {
  y1 <- Rfast::Log(x)
  d <- dim(x)[2]
  y <- y1[, -1] - y1[, 1]
  for (i in 2:d)  y <- cbind(y, y1[, -c(1:i)] - y1[, i])
  y
}

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.