Learn R Programming

decoder (version 1.1.0)

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