Learn R Programming

dostats (version 1.3.3)

fill_v: Fill vector to length with a specified value

Description

Fill vector to length with a specified value

Usage

fill_v(x, l = length(x), with = last(x), after = length(x))

Arguments

x

vector

l

length

with

What to fill with

after

where to insert