Learn R Programming

decoder (version 1.2.1)

pad0: Pad leading zeros to character

Description

Pad leading zeros to character

Usage

pad0(x, n)

Arguments

x

character or object that can be coerced to such

n

desired length of outcome vector

Value

Character vector of length n