R/add.R

Defines functions add

add <- function(x, m){
  if (length(x)<m){ x <- c(x, rep(NA, m-length(x)))}
  x
}

Try the WCE package in your browser

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

WCE documentation built on May 29, 2024, 2:40 a.m.