R/alfa.reg2.R

Defines functions alfa.reg2

Documented in alfa.reg2

alfa.reg2 <- function(y, x, a, xnew = NULL) {
  res <- list()
  for ( i in 1:length(a) ) {
    res[[ i ]] <- Compositional::alfa.reg(y, x, a[i], xnew)
  }
  res
}

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.