R/expand.args.R

Defines functions expand.args

Documented in expand.args

expand.args <- function(...){
  dots <- list(...)
  max_length <- max(lengths(dots))
  lapply(dots, rep, length.out = max_length)
}

Try the FAdist package in your browser

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

FAdist documentation built on March 18, 2022, 5:24 p.m.