padNA: Add a length of NAs before or after x
(used in Stacking)
Description
Add a length of NAs before or after x (used in Stacking)
Usage
padNA(x, before = 0, after = 0)
Arguments
before
length of NA to insert
after
length of NA to insert
Value
same vector padded with NAs.