powered by
Pad x to length of y
pad(x, y, after = length(x), pad = NA)
The vector to pad.
The vector with target length.
A subscript, after which the padding is to be appended.
The value to pad the vector with.
The padded vector.