R/zeropad.R

Defines functions zeropad

Documented in zeropad

zeropad <-
function(x){

x <- cbind(x, rep(0, length(x)))

as.vector(t(x))

}

Try the locits package in your browser

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

locits documentation built on Sept. 8, 2023, 5:07 p.m.