powered by
zeropad(x)
x
hwt
# # Operate on a test set # v <- 1:3 zeropad(v) #[1] 1 0 2 0 3 0
Run the code above in your browser using DataLab