zeropad: Pads numerics with zeros at the beginning.

View source: R/zeropad.R

zeropadR Documentation

Pads numerics with zeros at the beginning.

Description

Pads numerics with zeros at the beginning.

Usage

zeropad(x, n = max(nchar(x)))

Arguments

x

is a numeric vector.

n

is the number of characters in the returned strings.


arnejohannesholmin/TSD documentation built on April 14, 2024, 5:29 a.m.