R/utils.R
pad.Rd
Pads a vector with zeros at the beginning and end.
pad(x, n)
vector to pad
number of zeros to pad