padleft: Pad text on the left

View source: R/primitives.R

padleftR Documentation

Pad text on the left

Description

Pad text on the left

Usage

padleft(x, width, pad = " ")

Arguments

x

An atomic vector.

width

Target width, in characters or rolling-window size depending on the function.

pad

Padding character.

Value

A character vector padded to width.


basetable documentation built on Sept. 18, 2026, 9:13 a.m.