R/alrinv.R

Defines functions alrinv

Documented in alrinv

alrinv <- function(y) {
  x <- cbind(1, exp(y) )
  x / rowsums(x)
}

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.