pad: Pad x to length of y
Description
Pad x to length of y
Usage
pad(x, y, after = length(x), pad = NA)
Arguments
- x
The vector to pad.
- y
The vector with target length.
- after
A subscript, after which the padding is to be appended.
- pad
The value to pad the vector with.