R/nulllist.R

Defines functions nulllist

Documented in nulllist

#' Returns list filled with NULL of n length
#'
#' @param n length of list
#'
#' @return
#' @export
#'
#' 
nulllist <- function(n) {
  
  nl <- list(NULL,
             NULL,
             NULL,
             NULL,
             NULL,
             NULL,
             NULL,
             NULL,
             NULL,
             NULL,
             NULL,
             NULL,
             NULL,
             NULL,
             NULL,
             NULL,
             NULL,
             NULL,
             NULL,
             NULL)
  
  return(nl[1:n])
  
}
nicohuttmann/pOmics documentation built on Sept. 21, 2022, 9:28 a.m.