Skip to contents

This function creates a sequence of numbers with 0 padding based on the series length.

Usage

pad_num(n, pad = "0")

Arguments

n

the number of columns

pad

the character to use for the padding.

Value

a character string padded by "0"