pad_len: Pad x to a given output length

View source: R/utils.R

pad_lenR Documentation

Pad x to a given output length

Description

Pad x to a given output length

Usage

pad_len(x, output_length, after = length(x), pad = NA)

Arguments

x

The vector to pad.

output_length

The length to pad the vector to.

after

A subscript, after which the padding is to be appended.

pad

The value to pad the vector with.

Value

The padded vector.


UCLATALL/supernova documentation built on Feb. 13, 2024, 6:57 a.m.