Skip to contents

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