fill_in: Fill in values in a vector

fill_inR Documentation

Fill in values in a vector

Description

Fill in values in a vector until it reaches a specific length.

Usage

fill_in(x, length, value = NA)

Arguments

x

(an object) An object whose dimnames should be copied.

length

(numeric scalar) The desired length.

value

(numeric/character/logical scalar) The value to fill in.

Examples

fill_in(1:5, 10)

Deleetdk/kirkegaard documentation built on April 1, 2024, 2:23 a.m.