R/createMat.R

Defines functions createMat

createMat <- function(vars) { # crea la matrice con tutti i predittori
  out <- list()
  for(v in vars) {
    out[v] <- list(c(0, 1))
  }
  expand.grid(out)
}

Try the glmxdiag package in your browser

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

glmxdiag documentation built on Jan. 10, 2022, 9:07 a.m.