fill_v: Fill vector to length with a specified value
Description
Extend a vector to the desired length by
appending/inserting with at after,
repeating with as necessary.Usage
fill_v(x, l = length(x), with = last(x),
after = length(x))Arguments
with
the item to append to achieve the desired
length
after
where to insert the items.