R/canon.R

Defines functions canon

Documented in canon

canon <- function(x, len) {
  xx <- rep(0, len)
  xx[x] <- 1
  xx
}

Try the ALassoSurvIC package in your browser

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

ALassoSurvIC documentation built on Dec. 1, 2022, 5:12 p.m.